#arena #publishing #arena-allocation #automatic #rustc-auto-publish #compiler #package

nightly rustc-ap-arena

Automatically published version of the package arena in the rust-lang/rust repository from commit 10c2316a6bf7cf9255f991e06e82ce692e6f84d5 The publishing script for this crate lives at: https://github.com/alexcrichton/rustc-auto-publish

524 major breaking releases

662.0.0 Jun 2, 2020
661.0.0 May 26, 2020
660.0.0 May 19, 2020
659.0.0 May 18, 2020
129.0.0 May 13, 2018

#1977 in Development tools

Download history 17/week @ 2024-07-13 9/week @ 2024-07-20 222/week @ 2024-07-27 3/week @ 2024-08-03 1/week @ 2024-08-10 300/week @ 2024-09-21 1309/week @ 2024-09-28 15/week @ 2024-10-05 12/week @ 2024-10-12

262 downloads per month
Used in 5 crates (via rustc-ap-syntax_pos)

MIT/Apache

465KB
10K SLoC

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

~4–11MB
~119K SLoC