Typed D allocator based on jemalloc
Moritz Maxeiner via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Fri Mar 3 09:57:12 PST 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/tcmallocd
Neat. 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
More information about the Digitalmars-d-announce
mailing list