/// Initial preallocated capacity for reactive arena slots (slimmed to ~12 KiB cold-start footprint).
pub const INITIAL_ARENA_CAPACITY: usize = 32;
/// Initial capacity for the reusable dirty-propagation scratch queue.
pub const INITIAL_DIRTY_QUEUE_CAPACITY: usize = 4;
/// Maximum flush iterations before breaking a cyclic reactive loop safely.
pub const MAX_FLUSH_ITERATIONS: usize = 1024;
/// Sentinel edge index indicating the end of an intrusive doubly-linked edge list or an unlinked slot.
pub const EDGE_NONE: u32 = u32MAX;
/// High tag bit distinguishing memo sources from signals and effect subscribers from memos in packed edge tags.
pub const EDGE_KIND_BIT: u32 = 1u32 << 31;
/// Index mask stripping `EDGE_KIND_BIT` from a packed source or subscriber tag.
pub 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 const EDGE_INDEX_THRESHOLD: u32 = 16;