Skip to main content

Module state

Module state 

Source
Expand description

State Module - Dirty-Bit Tracking & Atomic Sync

O(1) change detection inspired by dx-style’s dirty-bit system.

Structs§

AtomicSync
Atomic sync controller
DirtyBits
Dirty-bit tracker for rule sections
DirtyMask
64-bit dirty mask for tracking up to 64 rule sections
RuleRef
Reference to a shared rule
RuleSnapshot
Snapshot of rule state
SharedRules
Shared rule storage with dirty tracking
SnapshotManager
Snapshot manager for storing and retrieving snapshots

Enums§

SyncState
Sync state

Constants§

STATE_VERSION
State module version