try...catch slooowness?

bearophile bearophileHUGS at lycos.com
Sun Dec 19 04:46:09 PST 2010


spir:

> try...catch version time: 387ms
> pointer version time: 388ms
> pointer version is about 40650 times faster

Those numbers look wrong :-)


> What do you think?

Compared to Oracle Java VM the DMD exceptions are very slow. Performance tuning of DMD is left for later, when the main features are all present.

Bye,
bearophile


More information about the Digitalmars-d mailing list