Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 31f9dc7c7f7eeb013390995e4bbff8576fb2b87b
https://github.com/WebKit/WebKit/commit/31f9dc7c7f7eeb013390995e4bbff8576fb2b87b
Author: Chris Dumez <[email protected]>
Date: 2026-04-30 (Thu, 30 Apr 2026)
Changed paths:
M Source/WebCore/bindings/scripts/StaticString.pm
Log Message:
-----------
Use StringAtom flag for StaticStringImpl in StaticString.pm
https://bugs.webkit.org/show_bug.cgi?id=313725
Reviewed by Darin Adler.
StaticString.pm generates StaticStringImpl declarations for all HTML, SVG,
MathML, and XML tag and attribute names (~1045 strings). Adding the StringAtom
flag means AtomString construction from these static strings hits the isAtom()
fast path, avoiding heap allocation and runtime hash computation.
* Source/WebCore/bindings/scripts/StaticString.pm:
(GenerateStrings):
Canonical link: https://commits.webkit.org/312405@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications