Re: Typed D allocators based on Google Thread caching memory allocators

2016-04-01 Thread Basile B. via Digitalmars-d-announce

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.


Typed D allocators based on Google Thread caching memory allocators

2016-04-01 Thread Basile B. via Digitalmars-d-announce
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:
http://goog-perftools.sourceforge.net/doc/tcmalloc.html

the repo:
https://github.com/BBasile/tcmallocd

PR and BR obviously welcome if you see an error.