1 个不稳定版本
0.1.0 | 2019年5月28日 |
---|
#734 在 WebAssembly
69 每月下载量
在 3 个crates中使用 (2 直接)
7KB
74 行
qimalloc
快速增量(浪费)内存分配器。
此内存分配器不会释放任何内存。其主要用途是在短生命周期环境中,例如 WebAssembly 二进制文件。
实验性:不要在任何实际应用中使用它!
用法
要使用它,将其添加为依赖项
[dependencies]
qimalloc = "0.1"
并覆盖全局分配器
#[global_allocator]
static ALLOC: qimalloc::QIMalloc = qimalloc::QIMalloc::INIT;
维护者
- Sina Mahmoodi
- Alex Beregszaszi
许可证
Apache 2.0