I'm curious though, how much the debug check in the current build hurts performance. I honestly expected it to be removed from the release version of the app.
The case distinction is always in there and - as shown by the "small x" occurrencies - obviously needs to be. I'm rather suprised how often this occurs - I actually hoped that I could completely drop this case (and the test with it), at least for a predictable category of Workunits. Pitty I can't.
Writing the line in stderr is the only difference to the previous code and doesn't take much time.
BM
