#allocator #jemalloc

jemallocator-global

Sets jemalloc as the #[global_allocator]

3 releases

Uses old Rust 2015

0.3.2 Jun 14, 2019
0.3.1 Jun 14, 2019
0.3.0 Mar 20, 2019

#7 in #jemalloc

Download history 97/week @ 2020-12-31 68/week @ 2021-01-07 57/week @ 2021-01-14 82/week @ 2021-01-21 40/week @ 2021-01-28 49/week @ 2021-02-04 81/week @ 2021-02-11 47/week @ 2021-02-18 68/week @ 2021-02-25 33/week @ 2021-03-04 23/week @ 2021-03-11 19/week @ 2021-03-18 31/week @ 2021-03-25 31/week @ 2021-04-01 26/week @ 2021-04-08 28/week @ 2021-04-15

266 downloads per month

MIT/Apache

13KB
108 lines

jemallocator-global

Travis-CI Status Appveyor Status Latest Version docs

Sets jemalloc as the #[global allocator] on targets that support it.

Documentation / usage

Add it as a dependency:

# Cargo.toml
[dependencies]
jemallocator-global = "0.3.0"

and jemalloc will be used as the #[global_allocator] on targets that support it.

Cargo features

  • force_global_jemalloc (disabled by default): unconditionally sets jemalloc as the #[global_allocator].

Platform support

See jemallocator's platform support.

Documentation

For more information check out the jemallocator crate.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in jemallocator-global by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~7–390KB
~10K SLoC