Allocation

enum Allocation

Describes a memory-management event exposed to the allocation effect.

Cases

case allocate(Int)

Requests storage for the given number of bytes.

case free

Releases an allocation owned by the caller.

case retain

Adds an owner to a reference-counted allocation.

case release

Removes an owner and frees the allocation when its count reaches zero.