Table of Contents

Class GridTraceIntervalScratch

Namespace
GridForge.Grids
Assembly
GridForge.dll

Owns reusable caller-side storage for allocation-free warmed interval traces.

public sealed class GridTraceIntervalScratch
Inheritance
GridTraceIntervalScratch
Inherited Members

Remarks

Instances retain capacity and are not thread-safe. Reentrant tracing or clearing an active instance throws before caller output is modified. Completed traces release temporary grid references.

Constructors

GridTraceIntervalScratch(int, int)

Creates trace scratch with optional expected grid and address counts.

public GridTraceIntervalScratch(int gridCapacity = 0, int addressCapacity = 0)

Parameters

gridCapacity int
addressCapacity int

Methods

Clear()

Clears temporary values while retaining capacity.

public void Clear()