Typed D allocators that use the GPERF tools thread caching allocators
To use this package, put the following dependency into your project's dependencies section:
This DUB package contains the D bindings of the thread caching mallocator functions from the GPERF tools. It also contains typed D allocators, conform with the interface defined in the std.experimental.allocator.
The typed D allocators should rather be used in multi-threaded programs. They can be considered of a higher-level than their D equivalents since internally they use structures similar to what's defined in the building blocks (such as the FreeList).
from the repository
dub build --build=release --config=lib.
- if you use Coedit, after compilation from the UI, use the book-link icon to register in the libman, then this library can be used in runnable modules by adding the script line
#!runnable-flags: -L-ltcmallocor in CE projects by adding the library alias
- in the library manager click the DUB icon.
tcmallocdand validate to fetch, compile and auto register.
- Posix only
- libtcmalloc must be setup as a static library, this can be done by installing the gperftools development package for your distribution.
- the module
tcmallocd.itfcontains the bindings to the C functions.
- the module
tcmallocd.allocatorcontains typed D allocators.
- Registered by Basile.B
- 0.2.2 released 2 years ago