Skip to main content

Crate bhc_arena

Crate bhc_arena 

Source
Expand description

Arena allocators for efficient compiler data structure allocation.

This crate provides arena allocators that enable fast allocation of compiler data structures with automatic bulk deallocation.

Structs§

Arena
A thread-local arena for fast, scoped allocations.
Bump
An arena to bump allocate into.
DroplessArena
A dropless arena for types that don’t need drop.
SyncArena
A sync arena that can be shared across threads.
TypedArena
An arena of objects of type T.