[Issue 7442] ctRegex!`\p{Letter}` uses a lot memory in compilation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 13 11:33:57 PDT 2012


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



--- Comment #6 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2012-04-13 11:34:43 PDT ---
(In reply to comment #5)
> 
> By the way, if you go into the compiler source, file interpret.c, line 34 is
> #define SHOWPERFORMANCE 0
> If you change that 0 to 1, and then recompile, it will tell you some basic CTFE
> stats, eg how many assignments it performed.

Cool. I'm going to use this extensively. Might as well reduce ctRegex as some
kind of benchmark for CTFE.

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


More information about the Digitalmars-d-bugs mailing list