FYI - mo' work on std.allocator
Brian Schott via Digitalmars-d
digitalmars-d at puremagic.com
Wed May 7 02:29:14 PDT 2014
On Wednesday, 7 May 2014 at 08:22:51 UTC, John Colvin wrote:
>> The allocator version uses 1/3 the memory that the older GC
>> version used.
>
> What is your feeling on the increased code
> complexity/fragility, if any?
It was difficult because it's very easy to accidentally have
references to GC memory that the GC doesn't know about. When the
GC starts freeing "live" memory you get all sorts of contract and
invariant violations that should never be possible.
More information about the Digitalmars-d
mailing list