Switch implementation

bearophile bearophileHUGS at lycos.com
Tue Sep 28 19:00:06 PDT 2010


Robert Jacques:
> Well there are 28 labeled cases and ~16kb of jump table address space.  
> (32kb on 64-bit platforms)

32 kb are enough to fill the code part of the L1 cache on most CPUs.

Bye,
bearophile


More information about the Digitalmars-d mailing list