maskerad_memory_allocators

Crates.iomaskerad_memory_allocators
lib.rsmaskerad_memory_allocators
version5.2.0
sourcesrc
created_at2018-01-01 21:28:18.38564
updated_at2018-02-27 09:52:37.460123
descriptioncustom allocators, for memory fragmentation prevention.
homepage
repositoryhttps://github.com/Maskerad-rs/maskerad_stack_allocator
max_upload_size
id45146
size241,613
(Malkaviel)

documentation

README

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.

Commit count: 76

cargo fmt