Now this is not actually reflective of the code in my program. I just needed a clean, controlled environment to compare different things.
Do you have a large if/else decision tree? We might be able to provides some ideas there if you do and want to share.
You both make very good points. Perhaps I should rephrase my question:
I am having a conflict between choosing between readability and efficiency in a rather large program. Is the PITA worth going for efficiency?
In my not so humble opinion, optimization is the bottom goal until I have any reason to make it otherwise. We need to be talking about a whole lot of 9.8 milliseconds increments before it's anything I can see. I've seen a lot of people trying so hard to optimize code when both versions ran in the blink of an eye. Optimize after you start waiting and need more speed. Until then, be a good programmer and keep your life as easy as possible.
James
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]