#arena #allocation #vec #arena-allocator

arenavec

An arena backed implementation of vectors and related types

2 releases

0.1.1 Jul 31, 2019
0.1.0 Jul 30, 2019

⚠️ Issues reported

#1486 in Data structures

Download history 9/week @ 2024-02-18 27/week @ 2024-02-25 45/week @ 2024-03-03 7/week @ 2024-03-10

88 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–395KB