Switch implementation

Iain Buclaw ibuclaw at ubuntu.com
Tue Sep 28 15:59:49 PDT 2010


== Quote from bearophile (bearophileHUGS at lycos.com)'s article
> 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

Oh, it was my *original* intention to test runtime speed. However, the time to
compile just stood out little more like a sore thumb than what I anticipated.

Iain


More information about the Digitalmars-d mailing list