euv-core 0.48.3

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
/// Initial preallocated capacity for reactive arena slots (slimmed to ~12 KiB cold-start footprint).
pub(crate) const INITIAL_ARENA_CAPACITY: usize = 32;

/// Initial capacity for the reusable dirty-propagation scratch queue.
pub(crate) const INITIAL_DIRTY_QUEUE_CAPACITY: usize = 4;

/// Maximum flush iterations before breaking a cyclic reactive loop safely.
pub(crate) const MAX_FLUSH_ITERATIONS: usize = 1024;

/// Sentinel edge index indicating the end of an intrusive doubly-linked edge list or an unlinked slot.
pub(crate) const EDGE_NONE: u32 = u32::MAX;

/// High tag bit distinguishing memo sources from signals and effect subscribers from memos in packed edge tags.
pub(crate) const EDGE_KIND_BIT: u32 = 1u32 << 31;

/// Index mask stripping `EDGE_KIND_BIT` from a packed source or subscriber tag.
pub(crate) const EDGE_INDEX_MASK: u32 = !EDGE_KIND_BIT;

/// Dependency count threshold above which a subscriber's edges are indexed in `ReactiveRuntime::edge_index` for O(1) lookup.
pub(crate) const EDGE_INDEX_THRESHOLD: u32 = 16;