diff options
author | Andreas Kling <kling@serenityos.org> | 2022-07-11 17:12:58 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-07-11 18:57:45 +0200 |
commit | 0cacaf025d36ebc46782e21a733359a1d77ab32f (patch) | |
tree | acdf10629bf0a5f837571902875cd04ade9f87db /Userland/Utilities/ls.cpp | |
parent | f6a97ff7d5eb12ab500ef867ef3e4a3bc0eeddca (diff) | |
download | serenity-0cacaf025d36ebc46782e21a733359a1d77ab32f.zip |
LibWeb: Stop putting the FormattingState nodes in a slow hash map
Instead, put them in a Vector<OwnPtr<NodeState>>. Each layout node
has a unique index into the vector. It's a simple serial ID assigned
during layout tree construction. Every new layout restarts the sequence
at 0 for the next ICB.
This is a huge layout speed improvement on all content.
Diffstat (limited to 'Userland/Utilities/ls.cpp')
0 files changed, 0 insertions, 0 deletions