summaryrefslogtreecommitdiff
path: root/Userland/Utilities/man.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-07-11 17:12:58 +0200
committerAndreas Kling <kling@serenityos.org>2022-07-11 18:57:45 +0200
commit0cacaf025d36ebc46782e21a733359a1d77ab32f (patch)
treeacdf10629bf0a5f837571902875cd04ade9f87db /Userland/Utilities/man.cpp
parentf6a97ff7d5eb12ab500ef867ef3e4a3bc0eeddca (diff)
downloadserenity-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/man.cpp')
0 files changed, 0 insertions, 0 deletions