rustc-ap-arena 297.0.0

Automatically published version of the package `arena` in the rust-lang/rust repository from commit 4ec0ba9545f7c848aafc0bc1b8762507395edd41 The publishing script for this crate lives at: https://github.com/alexcrichton/rustc-auto-publish
docs.rs failed to build rustc-ap-arena-297.0.0
Please check the build logs and, if you believe this is docs.rs' fault, open an issue.

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 TypedArena, a simple arena that can only hold objects of a single type.