[Issue 17881] Provide mechanism to preallocate memory from the GC
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 24 21:32:55 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=17881
--- Comment #10 from Andrei Alexandrescu <andrei at erdani.com> ---
(In reply to Steven Schveighoffer from comment #8)
> What I am looking for,
> though, is the high-level API of "I have 20 million T's I want to allocate,
> give me them properly allocated and typed one at a time".
This issue should be closed. A good allocator should be able to handle repeated
allocations of the same size without this kind of hint.
--
More information about the Digitalmars-d-bugs
mailing list