mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 17:12:55 +02: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