Concern about dmd memory usage on win32
deadalnix
deadalnix at gmail.com
Fri Dec 7 14:37:34 PST 2012
On Friday, 7 December 2012 at 22:30:59 UTC, Andrei Alexandrescu
wrote:
> On 12/7/12 1:43 PM, Jonathan M Davis wrote:
>> The GC didn't break things per se. It was just made
>> compilation much slower,
>> and Walter didn't have time to fix it at the time (as dmd was
>> close to a
>> release), so it was disable. But someone needs to take the
>> time to work on it
>> and make it efficient enough to use (possibly doing stuff like
>> making it so that
>> it only kicks in at least a certain amount of memory is used
>> to keep the
>> common case fast but make the memory-intensive cases work).
>> And no one has
>> done that.
>
> I suggested this several times: work the GC so it only
> intervenes if the consumed memory would otherwise be
> prohibitively large. That way there's never a collection during
> normal compilation.
>
> Andrei
Nobody told you that the GC was THAT SLOW that it as even slower
than the swap ? You really know nothing about optimization, don't
you ?
More information about the Digitalmars-d
mailing list