Skip to main content

Module marking_cache

Module marking_cache 

Source
Expand description

Caches computed state snapshots at periodic intervals for efficient seek/step.

Structs§

ComputedState
Computed state from replaying events.
MarkingCache
Cache of computed state snapshots for efficient seek/step operations.

Constants§

SNAPSHOT_INTERVAL
Number of events between cached snapshots.

Functions§

apply_events
Applies events to mutable accumulator collections.
compute_state
Computes marking, enabled transitions, and in-flight transitions from events.