maskerad_memory_allocators 5.2.0

custom allocators, for memory fragmentation prevention.
maskerad_memory_allocators-5.2.0 doesn't have any documentation.

maskerad memory allocators

custom allocators, for memory fragmentation prevention.

Build status Build Status

Crates.io Docs

License: MIT License

This library is nightly-only and provides:

  • a stack-based allocator

This allocator is a vector-like data structure, which asks n number of bytes from the heap when instantiated.

  • a double-buffered allocator

It is a structure holding two stack-based allocators. One is active, the other is inactive. When we allocate/reset with this allocator, the active stack-based allocator allocates/reset memory. We can swap the allocators, the inactive one becomes active.

This library was made to prevent memory fragmentation. The allocators preallocate memory from the heap, and we use those allocators to create objects.

More informations

See the github repository for more informations on this crate.

You can find the documentation here.