Crates.io | shalloc |
lib.rs | shalloc |
version | 0.1.2 |
source | src |
created_at | 2024-09-06 22:51:57.749787 |
updated_at | 2024-10-04 19:37:15.312762 |
description | Implements the `GlobalAlloc` trait for supahero1's allocator written in C: https://github.com/supahero1/alloc |
homepage | https://github.com/supahero1/alloc |
repository | https://github.com/UE2020/shalloc-rs |
max_upload_size | |
id | 1366718 |
size | 120,380 |
This crate implements the GlobalAlloc
trait for supahero1's allocator written in C.
See the README in supahero1's repo for more details.
#[global_allocator]
static ALLOCATOR: shalloc::Shalloc = shalloc::Shalloc;
A benchmark is available at https://github.com/supahero1/alloc