> In fact, that list of objects (an NSDate, an int, and a float) are created for every letter pressed in the 1st/3rd panes. And they're never used in a release (or non-verbose) build of QS.
>
> Seems pretty wasteful, no?
Very, and that’s an important area. I don’t know enough about the syntax to know if your theory of how to disable this code is correct, but if you “Build & Debug” using the release configuration, could that verify that this code is skipped altogether with your proposed changes? Or does that enable the debug flag automatically. There’s always NSLog. ;)
If it turns out you’re right, I’d say just add the changes to another commit on your speed branch.
--
Rob McBroom
<http://www.skurfer.com/>
> My proposition is this: There be no debugging in the release version. If you want to debug, you need to build the debug version and set 'DEBUG' to 1 (wherever this is done)
I generally agree on this, too. What we lose is the ability to tell a user (with problems) to set some of the variables on the command line before starting QS and give us the log output for analysis so we can see if it's a general problem or user-specific. But then again, we could provide that user a special debug build in such situations...
Kind regards,
Florian