2 releases

0.1.1 Jul 31, 2019
0.1.0 Jul 30, 2019

⚠️ Issues reported

#1908 in Data structures

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