#arena #sync #sync-arena

sync-arena

A simple, thread-safe arena allocator

1 unstable release

Uses new Rust 2024

new 0.1.5 Mar 25, 2025
0.1.4 Mar 25, 2025

#45 in #arena

38 downloads per month

MIT/Apache

34KB
574 lines

The arena, a fast but limited type of allocator.

Arenas are a type of allocator that destroy the objects within, all at once, once the arena itself is destroyed. They do not support deallocation of individual objects while the arena itself is still alive. The benefit of an arena is very fast allocation; just a pointer bump.

This crate implements several kinds of arena.

Dependencies

~69KB