#arena #arena-allocation #repository #github #package #publishing #script

nightly hkalbasi-rustc-ap-rustc_arena

Automatically published version of the package rustc_arena in the hkalbasi/rust repository from commit e77366b57b799dfa3ce1fcb850c068723a3213ee The publishing script for this crate lives at: https://github.com/hkalbasi/rustc-auto-publish

1 unstable release

0.0.20230517 May 17, 2023

#2476 in Development tools

45 downloads per month
Used in 2 crates (via hkalbasi-rustc-ap-rustc_d…)

MIT/Apache

31KB
674 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

~67KB