Berildocs GitHub

Memory cards

An arena frees a whole region at once

confidence: mediumupdated: 2026-11-25status: activeallocatorarenaregion

Claim#

Bump allocation is cheap; individual frees are not. The lifetime is the region.

Test#

Allocate many small objects. Free the arena. Check the RSS and the reuse.

Proof#

A region freed in one operation.

Failure modes#

A long-lived object in a short arena dangles. Growth needs a new chunk.