#arena #arena-allocation #com #object #pointers #rustc-auto-publish #automatic

nightly jomy-ap-rustc_arena

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

3 releases (1 stable)

new 1.83.0 Nov 29, 2024
0.2.0 Nov 29, 2024
0.1.0 Nov 29, 2024

#512 in Development tools

Download history 322/week @ 2024-11-25

322 downloads per month
Used in 15 crates (3 directly)

MIT/Apache

34KB
652 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