Rust chunked range allocator
A simple range allocator for chunked external memory
chunked-range-alloc was created for 2 use cases:
- packing game assets into archive files
- basis of specialized vulkan memory allocator
Features:
Allocationincludeschunk_indexin addition tooffsetandlenfrom_allocationsconstructor for loading existing allocations (example: game assets index)- optional
bincodeandserdesupport - simple, safe code
- good enough performance: allocator uses
BTreeinternally, best-fit search strategy, immediately coalesces on free
Non-goals:
- blazingly fast constant O(🚀) time complexity
MSRV
Latest stable
License
Licensed under either of:
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.