Compile-time memory footprint of std.algorithm
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Wed Apr 23 08:46:03 PDT 2014
On Wed, 23 Apr 2014 02:39:05 -0400, Walter Bright
<newshound2 at digitalmars.com> wrote:
> On 4/22/2014 11:33 PM, Dmitry Olshansky wrote:
>> At a times I really don't know why can't we just drop in a Boehm GC
>> (the stock
>> one, not homebrew stuff) and be done with it. Speed? There is no point
>> in speed
>> if it leaks that much.
>
> I made a build of dmd with a collector in it. It destroyed the speed.
> Took it out.
The time it takes to compile a program where the compiler consumes 2G of
ram on a 2G machine is infinite ;)
There must be some compromise between slow-but-perfect memory management
and invoking the OOM killer.
-Steve
More information about the Digitalmars-d
mailing list