jemallocd 0.1.1

Typed D allocators based on jemalloc


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

JEMallocd

This DUB package contains D bindings of the jemalloc memory allocator. It also contains typed D allocators, compliant with the interface defined in the std.experimental.allocator.

Setup

from the repository
  • clone
  • 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-ljemalloc or in CE projects by adding the library alias libjemallocd.
from Coedit
  • in the library manager click the DUB icon.
  • type jemallocd and validate to fetch, compile and auto register.

Usage

  • Posix only
  • libjemalloc must be setup as a static library, this can be done by installing the jemalloc development package for your distribution.
  • the module jemalloc.itf contains the bindings to the C functions and the functions used to build the flags.
  • the module jemalloc.allocator contains typed D allocators.

Other

  • licensed under the conditions of the Boost Software License 1.0.
  • see also TCMallocd for a Mallocator and an AlignedMallocator based on the Gperf thread caching memory allocator.
Authors:
  • Basile B.
Dependencies:
none
Versions:
0.1.1 2017-Mar-03
0.1.0 2017-Mar-03
~master 2017-Mar-03
Show all 3 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 8 downloads total

Score:
1.1
Short URL:
jemallocd.dub.pm