15 karma · joined Jul 17, 2024 (2y ago) · 1 submissions
comment 2y ago · link · parent
Browsers have special data structures for id and class search optimizations.
Matching attributes scans through the dom top down.