Switch implementation

bearophile bearophileHUGS at lycos.com
Tue Sep 28 15:54:01 PDT 2010


Iain Buclaw:
> Out of curiousity, I thought I might give a good stress test a try.

You are mostly testing compiler speed, while my worry was about runtime. I didn't even know DMD is able to digest switch statements with more than 256 cases.

I have opened an enhancement request, add a comment to it if you think you have something useful to say:
http://d.puremagic.com/issues/show_bug.cgi?id=4952

Bye,
bearophile


More information about the Digitalmars-d mailing list