[Issue 14431] [REG 2.067.0] huge slowdown of compilation speed
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Apr 13 07:06:02 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14431
Martin Krejcirik <mk at krej.cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mk at krej.cz
--- Comment #4 from Martin Krejcirik <mk at krej.cz> ---
I'm not sure how relevant this is to the general compilation speed, but anyway:
import std.regex;
auto RE_VARSET = regex(r"(?<!!\w+.*)!(\w+)\s*=\s*([\w!.-]+|`.+`|" ~ `".*")[
\t]*`,"i");
auto RE_CMD = regex(r"!([A-Z_]+)\(([A-Za-z0-9_ .:;!,@{}/*-]*)\)");
dmd 2.065
real 0m3.789s
user 0m3.548s
sys 0m0.232s
dmd 2.066.1
real 0m4.628s
user 0m4.328s
sys 0m0.292s
dmd 2.067
real 0m5.260s
user 0m4.940s
sys 0m0.308s
--
More information about the Digitalmars-d-bugs
mailing list