staticIndexOf is incredibly slow and memory intensive

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Aug 26 15:56:30 PDT 2012


On 8/26/12, Peter Alexander <peter.alexander.au at gmail.com> wrote:
> Do you have a minimal repro case for this?

http://dpaste.dzfl.pl/4a267350

win32 using timeit:

$ timeit dmd -version=OLD myStaticIndex.d
Done in 626 msecs.

$ timeit dmd -version=NEW myStaticIndex.d
Done in 183 msecs.


More information about the Digitalmars-d mailing list