https://issues.dlang.org/show_bug.cgi?id=17161

--- Comment #4 from Dmitry Olshansky <dmitry.o...@gmail.com> ---
(In reply to Dmitry Olshansky from comment #3)
> (In reply to Jack Stouffer from comment #2)
> > Bad news: I see a similar performance decrease for run-time regex as well.
> > 
> > # 2.073.0
> > $ dmd -O -inline -release test2.d && cat input5000000.txt | time ./test2
> > ./test2  4.44s user 0.09s system 98% cpu 4.591 total
> > 
> > # 2.072.2
> > ~/digger/result/bin/dmd -O -inline -release test2.d && cat input5000000.txt
> > | time ./test2
> > ./test2  3.20s user 0.09s system 98% cpu 3.344 total
> > 
> > I consistently get around a second and a half longer run time with 2.073.
> > 
> 
> This is interesting find, thanks for sharing!
> 
> Will investigate the R-T issue, C-T is (sadly) to be expected.

Mystery solved - in R-T version regex is parsed at C-T (because of static)
therefore the disabling of Kickstart affect it too.

--

Reply via email to