http://d.puremagic.com/issues/show_bug.cgi?id=6445
--- Comment #4 from David Simcha <[email protected]> 2011-08-07 13:41:31 PDT --- (In reply to comment #2) > (In reply to comment #0) > > The following program uses over a gigabyte of memory at compile time. I > > thought these kinds of issues were fixed by the rewrite of CTFE in the last > > release. > > No, bug 1382 is still open. Some cases of it have been fixed (eg, the one in > comment 4). I'm not sure why this particular case is so bad, I'll take a look > at it when I get a chance. > Note that CTFE still uses copy-on-write for values, and no memory is ever > released (this is more general than bug 1382). My guess is that the code below > just runs for a very long time. Values == ints, floats, other primitives? What about static arrays? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
