mirror of
https://github.com/girlbossceo/jemallocator.git
synced 2024-12-03 14:53:05 +00:00
f260a80f21
Signed-off-by: Jay Lee <BusyJay@users.noreply.github.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
jemallocator-global
Sets
jemalloc
as the#[global allocator]
on targets that support it.
Documentation / usage
Add it as a dependency:
# Cargo.toml
[dependencies]
tikv-jemallocator-global = "0.6.0"
and jemalloc
will be used as the #[global_allocator]
on targets that support
it.
Cargo features
force_global_jemalloc
(disabled by default): unconditionally setsjemalloc
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
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in tikv-jemallocator-global
by you, as defined in the Apache-2.0 license,
shall be dual licensed as above, without any additional terms or conditions.