2 unstable releases
Uses old Rust 2015
0.2.0 | Dec 22, 2023 |
---|---|
0.1.5 |
|
0.1.4 | Nov 21, 2023 |
#90 in Memory management
3,243 downloads per month
Used in 14 crates
(via galloc)
120KB
2.5K
SLoC
gear-dlmalloc
This is a fork of https://github.com/alexcrichton/dlmalloc-rs used by Gear protocol and Vara chain.
All credit for original version goes to @alexcrichton
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 this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
lib.rs
:
A Rust port of the dlmalloc
allocator.
The dlmalloc
allocator is described at
http://g.oswego.edu/dl/html/malloc.html and this Rust crate is a straight
port of the C code for the allocator into Rust. The implementation is
wrapped up in a Dlmalloc
type and has support for Linux, OSX, and Wasm
currently.
The primary purpose of this crate is that it serves as the default memory
allocator for the wasm32-unknown-unknown
target in the standard library.
Support for other platforms is largely untested and unused, but is used when
testing this crate.
Dependencies
~57–440KB