class Lapis::Core::FrameArena

Overview

Linear pointer-bump frame scratchpad allocator reset once per tick.

All hot-path allocation methods (alloc_bytes, alloc_slice, alloc_ptr, push, copy_slice, copy_array, mark, rewind, reset!, tick!) execute with strictly ZERO GC heap allocations.

Defined in:

lib/lapis/src/lapis/core/frame_arena.cr
diorite/core/frame_arena_batch.cr

Instance Method Summary

Instance Method Detail

def frame(&) : self #