chunked-range-alloc 1.0.0

A simple generic range allocator for chunked external memory
Documentation

Rust chunked range allocator

Crates.io Documentation

A simple range allocator for chunked external memory

chunked-range-alloc was created for 2 use cases:

  1. packing game assets into archive files
  2. basis of specialized vulkan memory allocator

Features:

  • Allocation includes chunk_index in addition to offset and len
  • from_allocations constructor for loading existing allocations (example: game assets index)
  • optional bincode and serde support
  • simple, safe code
  • good enough performance: allocator uses BTree internally, best-fit search strategy, immediately coalesces on free

Non-goals:

  • blazingly fast constant O(🚀) time complexity

MSRV

Latest stable

License

Licensed under either of:

at your option.