Fast, simple, hard real time allocator for Rust

This offset-allocator is a Rust port of Sebastian Aaltonen’s C++ OffsetAllocator package, designed for managing GPU resources efficiently, aiming to be used in Bevy. While it is not a Rust allocator conforming to the GlobalAlloc trait, it is optimized for managing allocations inside GPU buffers. The allocator is agnostic to what it allocates and uses a fast hard real-time offset allocation algorithm that minimizes fragmentation. With a similar concept to the two-level segregated fit (TLSF) algorithm, it offers optimal performance and low memory overhead. Developed by Patrick Walton, this offset-allocator is licensed under the MIT license and follows Rust’s code of conduct.

https://github.com/pcwalton/offset-allocator

To top