Bug 15775 – Object.factory replacement based on experimental allocators

Status
RESOLVED
Resolution
REMIND
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-03-07T03:13:00Z
Last change time
2016-04-29T03:32:23Z
Assigned to
b2.temp
Creator
b2.temp

Comments

Comment #0 by b2.temp — 2016-03-07T03:13:08Z
Object.factory always allocates in the GC-heap. We could imagine a replacment that uses std.experimental.allocators to allow something like a factory that would be manually managed or that would use a free list, according to the user needs.
Comment #1 by b2.temp — 2016-03-07T05:01:51Z
I take (https://github.com/D-Programming-Language/phobos/pull/4062) because actually I had already the stuff almost done in my user library.