Table of Contents

Namespace EncDotNet.S100.Pipelines.Vector.Caching

Classes

DiskPortrayalInstructionCache

Disk-backed IPortrayalInstructionCache: persists each prepared S-100 Part 9 display list as a sidecar file so the cold first open of a previously-portrayed dataset — including after a process restart — skips the portrayal run (for S-101 the ~1 s MoonSharp Lua execution).

DrawingInstructionSerializer

Compact, order-preserving binary (de)serializer for a list of DrawingInstruction. Used by DiskPortrayalInstructionCache to persist the post-pipeline display list across process restarts.

InMemoryPortrayalInstructionCache

In-memory IPortrayalInstructionCache with a bounded least-recently-used eviction policy. A single instance shared across every processor lets the cold open of a previously-portrayed dataset — e.g. reopening a cell, or reloading an exchange set within the same session — reuse the prepared display list and skip the portrayal run.

Interfaces

IPortrayalInstructionCache

Caches the post-pipeline S-100 Part 9 drawing-instruction list produced for a dataset so that re-opening (or reloading) a previously-portrayed dataset can skip the expensive portrayal run. For S-101 the portrayal run is the MoonSharp execution of the Part 9A Lua rules, which dominates cold-load wall time (~1 s per cell); the rest of the load — ISO 8211 parse, layer build, paint — is comparatively cheap.