[Issue 17881] Provide mechanism to preallocate memory from the GC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 6 20:10:55 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=17881

Andrei Alexandrescu <andrei at erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrei at erdani.com

--- Comment #1 from Andrei Alexandrescu <andrei at erdani.com> ---
This seems like a tall order. It's essentially pushing a specific management
need on to the GC, complicating everyone's life in the process.

If an application needs to preallocate, there's an API for that already - it's
called GC.allocate() :o). Then the application needs to do its own bookkeeping.

--


More information about the Digitalmars-d-bugs mailing list