digitalmars.D.announce - Typed D allocator based on jemalloc
- Basile B. (11/11) Mar 03 2017 Nothing huge here. The package[0] provides the bindings,
- Moritz Maxeiner (7/18) Mar 03 2017 Neat. Stupid question, probably, but I don't really know much
Nothing huge here. The package[0] provides the bindings, JEMallocator (like Mallocator) and JEAlignedAllocator (like AlignedAllocator). All of them use jeallocator[1], which is actually the default implementation of malloc in the FreeBSD system. In a future update I may add another D alloc which would be specific to each thread. Another allocator, tcmallocd[2] already does this. [0] http://code.dlang.org/packages/jemallocd [1] https://github.com/jemalloc/jemalloc [2] http://code.dlang.org/packages/tcmallocd
Mar 03 2017
On Friday, 3 March 2017 at 12:00:05 UTC, Basile B. wrote:Nothing huge here. The package[0] provides the bindings, JEMallocator (like Mallocator) and JEAlignedAllocator (like AlignedAllocator). All of them use jeallocator[1], which is actually the default implementation of malloc in the FreeBSD system. In a future update I may add another D alloc which would be specific to each thread. Another allocator, tcmallocd[2] already does this. [0] http://code.dlang.org/packages/jemallocd [1] https://github.com/jemalloc/jemalloc [2] http://code.dlang.org/packages/tcmallocdNeat. Stupid question, probably, but I don't really know much about jemalloc: Does using the binding yield me significant benefits over just using building blocks the way it's shown under "Sample Assembly" here[1]? [1] https://dlang.org/phobos/std_experimental_allocator_building_blocks.html
Mar 03 2017