2 releases

0.1.1 Jul 31, 2019
0.1.0 Jul 30, 2019

⚠️ Issues reported

#1801 in Data structures

35 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–380KB