A while back my manager asked me if the order of the enums in a Delphi case statement changed performance: i.e. Enums in order being faster then those not. I was pretty sure it didn’t, but thought it was worth checking out. Time for a test application and some disassembly . . .