www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Typed D allocators based on Google Thread caching memory allocators

reply Basile B. <b2.temp gmx.com> writes:
This new DUB package uses the "Thread Caching" memory allocators 
from Google performance tools to make typed D allocators, conform 
with the interface defined in std.experimental.allocator.

- Posix only.
- TCMallocator (= Mallocator).
- TCAlignedMallocator (= AlignedMallocator).

And maybe more (TCMMapAllocator TCCAllocator).

about Thread caching memory allocators:

the repo:

PR and BR obviously welcome if you see an error.
Apr 01 2016
parent Basile B. <b2.temp gmx.com> writes:
On Friday, 1 April 2016 at 09:33:27 UTC, Basile B. wrote:
 And maybe more (TCMMapAllocator TCCAllocator).
Nothing will be added actually, there are only two possible allocator kinds with TC allocs. Example of how semantic versioning can be stupid: v0.2.0 and it's finished.
Apr 01 2016