Documentation
¶
Overview ¶
Package scannerstate stores scanner checkpoints without copying live arrays when the number of recorded nodes grows.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set[T any] struct { // contains filtered or unexported fields }
Set associates a node index with a checkpoint. Chunks grow geometrically up to maxChunk, then linearly. Indexes and references have separate backing arrays so aligning a reference cannot add padding to every index.
func (*Set[T]) EnsureCapacity ¶
Click to show internal directories.
Click to hide internal directories.