mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
LibWeb: Share QualifiedName data between identical instances
Adopt the same pattern as AK::FlyString, reducing sizeof(QualifiedName) to the size of a pointer. This reduces the size of DOM::Element by 24 bytes.
This commit is contained in:
parent
4b900bc100
commit
cf5eeb9f4b
3 changed files with 92 additions and 28 deletions
|
@ -84,6 +84,7 @@ set(SOURCES
|
|||
DOM/ParentNode.cpp
|
||||
DOM/Position.cpp
|
||||
DOM/ProcessingInstruction.cpp
|
||||
DOM/QualifiedName.cpp
|
||||
DOM/Range.cpp
|
||||
DOM/ShadowRoot.cpp
|
||||
DOM/StaticNodeList.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue