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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 25 12:52:18 UTC 2017


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

--- Comment #11 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Andrei Alexandrescu from comment #10)
> This issue should be closed. A good allocator should be able to handle
> repeated allocations of the same size without this kind of hint.

I'm all for a solution that doesn't need hints. As far as I can tell, that
solution hasn't been disclosed yet. If you know how to write a "good allocator"
I really think you should do it, it would do wonders for D's GC performance.
Certainly, feel free to take this ER down in the event that becomes available.

--


More information about the Digitalmars-d-bugs mailing list