use *;
/// Minimum direct child count inside a container before `ParallelLayoutSolver` forks child subtrees across `EngineWorkerPool`.
pub const PARALLEL_LAYOUT_MIN_CHILDREN: usize = 4;
/// Minimum total subtree nodes inside a dirty frontier before `ParallelLayoutSolver` wakes background workers.
pub const PARALLEL_LAYOUT_MIN_SUBTREE_NODES: usize = 48;
/// Minimum total reachable dirty tree nodes before `LayoutEngine::compute` selects `ParallelLayoutSolver` over serial `SplitLayoutCache`.
pub const PARALLEL_LAYOUT_TREE_THRESHOLD: usize = 96;
/// Number of per-worker scratch banks (`0` = caller thread, `1..=ENGINE_WORKER_MAX_THREADS` = worker lanes).
pub const PARALLEL_SCRATCH_LANES: usize = ENGINE_WORKER_MAX_THREADS + 1;
/// Minimum rectangle count before `simd_translate_subtree_4x` takes the SIMD vector loop path.
pub const SIMD_VECTOR_LANES: usize = 4;