Expand description

Amortizes the cost of small allocations by allocating memory in bigger chunks.

Structs

A buffer that is allocated by the zallocator.

Overflow represents an error that exceeds the max size (1 << 30) of the chunk allowed to an allocator.

Amortizes the cost of small allocations by allocating memory in bigger chunks.

The stats of allocators

Functions

Allocate a new allocator by specific reference

Release all allocators

Release an allocator by reference

Returns the stats of the allocators

Type Definitions

type alias for core::result::Result<T, Overflow>