Decision Workspace
mimalloc-rs vs global-allocator vs mmap-allocator
Side-by-side comparison of Rust crates
32
mimalloc-rs
growingv0.1.0
This crate adds if-else expression into your constant functions
45
global-allocator
experimentalv0.1.0
A tiny, dependency-free building block for defining a custom global allocator in any Rust crate.
40
mmap-allocator
growingv0.3.1
struct implementing trait std::alloc::GlobalAlloc for unix
Core Metrics
| mimalloc-rs | global-allocator | mmap-allocator | |
|---|---|---|---|
| Health Score | 32 | 45 | 40 |
| Total Downloads | 2.5K | 24 | 120.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 1 | 4 |
| Last Updated | 2666d ago | 87d ago | 2065d ago |
| Age | 7y 3m | 2m | 6y 3m |
Health Breakdown
mimalloc-rs
Maintenance
1
Quality
15
Community
3
Popularity
4
Documentation
9
global-allocator
Maintenance
8
Quality
17
Community
6
Popularity
2
Documentation
12
mmap-allocator
Maintenance
4
Quality
13
Community
5
Popularity
6
Documentation
12
Technical Details
| mimalloc-rs | global-allocator | mmap-allocator | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 0.3.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 OR LGPL-3.0-or-later |
| Dependencies | 1 | 0 | 1 |
| Crate Size | 2KB | 8KB | 1.7MB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2018 |
| MSRV | — | 1.70 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •global-allocator leads with a health score of 45/100, but none of the options score above 80.
- •mmap-allocator has the most downloads (120.4K), suggesting wider adoption.
- •⚠ mimalloc-rs, mmap-allocator have not been updated in over a year.