Crate arenavec

Source
Expand description

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).

Re-exports§

pub use crate::common::*;

Modules§

common
This module contains shared data structures and other functionality for use with the allocators implemented in this crate.
rc
This module provides a reference-counted arena implementation.
region
This module provides a statically-borrow-checked arena implementation.