euv-core 0.48.1

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
/// Logical pixel leading clearance separating the empty-input caret from focused placeholder text.
pub(crate) const PLACEHOLDER_FOCUSED_CARET_CLEARANCE_PX: f32 = 2.5;

/// Power-of-two direct-mapped slot count for cross-frame retained `DrawCommand` subtree fragments.
pub(crate) const PAINT_FRAGMENT_CACHE_SLOTS: usize = 512;

/// Fixed flat command slab capacity retained by `PaintFragmentCache` for zero-allocation steady-state captures.
pub(crate) const PAINT_FRAGMENT_CMD_SLAB_CAP: usize = 4_096;

/// Fixed flat UTF-8 text byte slab capacity retained by `PaintFragmentCache` for zero-allocation text caching.
pub(crate) const PAINT_FRAGMENT_TEXT_SLAB_CAP: usize = 65_536;

/// Maximum direct child count eligible for O(k) subtree fragment caching in `PaintPass`.
pub(crate) const PAINT_FRAGMENT_MAX_CHILDREN: usize = 24;

/// Maximum recursive subtree depth eligible for retained fragment caching in `PaintPass`.
pub(crate) const PAINT_FRAGMENT_MAX_DEPTH: usize = 4;

/// Maximum total descendant node count eligible for one retained subtree fragment in `PaintPass`.
pub(crate) const PAINT_FRAGMENT_MAX_NODES: usize = 48;

/// Maximum pooled `String` buffers retained inside `DisplayListFrameArena` for zero-alloc text emission.
pub(crate) const DISPLAY_LIST_STRING_POOL_CAP: usize = 512;

/// Power-of-two direct-mapped slot count tracking static vs dynamic `NodeKind::Canvas` output stability.
pub(crate) const CANVAS_STABILITY_SLOTS: usize = 32;

/// 64-bit FxHash mixing multiplier for fast deterministic subtree fragment fingerprinting.
pub(crate) const PAINT_FRAGMENT_FX_MULT: u64 = 0x517C_C1B7_2722_0A95;