--- Comment #5 from Dmitry Olshansky <dmitry.o...@gmail.com> 2012-02-26
06:32:30 PST ---
Anyway how compares of 2.056-2.058 when you don't create regex objects inside
It is a strange thing to do at any circumstances, even N-slot caching you pay
some extra on each iteration to lookup and copy out the compiled regex needed.
I'm dreaming that probably one day the compiler can just see it's a loop
invariant and move it out for you.
Hm.. could happen sometime soon if 'regex' is pure and then it's result is
immutable, the compiler would have it's guarantees to go ahead and optimize.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------