??? 08/17/06 16:49 Read: times |
#122469 - Compiler Optimisation Responding to: ???'s previous message |
Most compilers are smart enough to code a series of case statements as a jump table. especially where the case statements in ascending numerical order. It is the jump table, as others have pointed out, that is affected by code protection.
One work around is to fool the compiler by reordering the source code case statements so it cannot build its jump table. Ian |