[QUOTE=tanoshimi] @vee41 - does C2 minify/obfuscate strings on export?
"Walking", "Running", "Crawling" may be 100x easier to read, but they're 100x less efficient when doing variable tests (i.e. if state="walking" rather than if state=2)
In most languages, this is exactly why you'd use enums...[/QUOTE]
I highly doubt there is anything relevant performance in how you do comparisons. To me it's about usability and managing your code. :) The way Ashley has described C2 performance,
it should not really matter how you handle simple comparisons as performance bottlenecks are always somewhere else.vee412013-03-16 12:27:59