diff options
author | Andreas Kling <kling@serenityos.org> | 2023-05-23 11:25:07 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-23 14:38:45 +0200 |
commit | df1bb0ff49b0f52f61da8d19c46cdbfa4ef6cfeb (patch) | |
tree | 52a603c17f4d11c2cc31ae00d4f6bd20a3752674 /Userland/Libraries/LibWeb/HTML/HTMLTableColElement.idl | |
parent | e31f696ee631f8dac610f8011d859098f439ea33 (diff) | |
download | serenity-df1bb0ff49b0f52f61da8d19c46cdbfa4ef6cfeb.zip |
LibWeb: Make HTMLCollection faster when it only cares about children
Some of the live HTMLCollection only ever contain children of their root
node. When we know that's the case, we can avoid doing a full subtree
traversal of all descendants and only visit children.
This cuts the ECMA262 spec loading time by over 10 seconds. :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLTableColElement.idl')
0 files changed, 0 insertions, 0 deletions