http://d.puremagic.com/issues/show_bug.cgi?id=7471



--- Comment #4 from Dmitry Olshansky <dmitry.o...@gmail.com> 2012-02-26 
02:22:02 PST ---
Profiling shows that about 99% of time is spent in GC, ouch.
What's at work here is that new regex engine is more costly to create and
allocates a bunch of structures on heap. The biggest ones of them are cached
like e.g. Tries but others are not.
I think I'll spend some time on introducing more caching and probably seek out
some GC unfriendly stuff in parser.
Still I should point out is that \d and \W in new engine are unicode aware and
correspond to MUCH broader character clasess then previos engine does. (that
belongs in ddocs somewhere)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to