Monday, June 25, 2018

Use what's already there, dammit

Venting post today.

Cow-orker and I are trying to debug performance in a multi-threaded application.  I already added threads initially, so there was an example in the code to base anything new on.  Of key significance is the casting of some references to arguments.

Yet cow-orker adds a new set of threads, and not only does not use that for the new code, but removes it from the part that it was already in.

So the code compiles under the old compiler mode, but fails when we get to the official build machine.

And the correct example was in the code to begin with.