mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-27 02:47:27 +00:00
Instead of calling to_lowercase() on two strings for every step while iterating over the HTMLCollection returned by getElementsByTagName(), we now cache the lowercased tag name beforehand and reuse it. 2.4x speed-up on WebKit/PerformanceTests/DOM/DOMDivWalk.html
9.6 KiB
9.6 KiB