Crate hv_stampede[][src]

Expand description

Heavy Stampede - a friendly herd of bumpalos, with extra features

This crate builds on and reexports most things from the bumpalo crate. In implementation and usage, it is very similar to the bumpalo-herd crate, but supports some operations that Herd does not:

Modules

A pointer type for bump allocation.

Collection types.

Macros

Like the format! macro for creating std::string::Strings but for bumpalo::collections::String.

Creates a Vec containing the arguments.

Structs

An arena to bump allocate into.

A thread-safe pool of Bumps (provided as PooledBumps). Internally, this is two pools; the “ready” pool of Bumps which do not yet have any objects tied to their lifetimes, and the “shunned” pool of Bumps which were detached using PooledBump::detach and must not be allocated from or destroyed until the entire pool is .reset().

An iterator over each chunk of allocated memory that an arena has bump allocated into.

An iterator over raw pointers to chunks of allocated memory that this arena has bump allocated into.

A Bump which was allocated from a BumpPool.

Enums