View Single Post
Old 10-28-2006, 08:19 PM   #11 (permalink)
noobie
Forum Expert
 
Join Date: Jul 2005
Location: Istanbul/Turkey
Age: 27
Posts: 425
Default

I really doubt using switch with string concat would much faster than regular a few if-else statements. btw it also has to build that look up table.

anyway event it were faster, does it really matter? how faster could it make it in such a simple case?? nanoseconds??
__________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
noobie is offline   Reply With Quote