mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-14 21:22:40 +03:00
Index class-anchored selectors by one mandatory class hash so widgets only evaluate rules associated with their own classes instead of scanning every class-only rule in the global bucket. Preserve selector correctness by validating the complete rule after candidate lookup, and retain stylesheet source order across independent index buckets for equal-specificity cascade resolution. Update index clearing, copying, marker removal, and style insertion paths. Add focused candidate coverage and a legacy full-scan benchmark, showing a 63% lookup-time reduction on a class-heavy stylesheet.