2 releases

0.1.1 Jul 31, 2019
0.1.0 Jul 30, 2019

⚠️ Issues reported

#2060 in Data structures

Download history 4/week @ 2024-11-13 7/week @ 2024-11-20 1/week @ 2024-11-27 1/week @ 2024-12-04 1/week @ 2024-12-11 48/week @ 2025-02-12 5/week @ 2025-02-19 23/week @ 2025-02-26

76 downloads per month

MIT license

62KB
665 lines

arenavec

Build Status Coverage Status License:MIT

An arena allocator providing niceties such as vectors.


lib.rs:

This crate exposes a number of arena allocator implementations tailored to slightly different usecases. Currently, all of them are non-MT-safe, and hence intended to be used locally per thread, for instance being placed in a thread-local variable, or nested in user types.

In addition to the allocator types, the library provides a set of data structures that are allocator-agnostic (as in, compatible with all allocators provided in this crate).

Dependencies

~0.4–375KB