WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
267010
Cache "containsOnlyASCIIWhitespace" on Node
https://bugs.webkit.org/show_bug.cgi?id=267010
Summary
Cache "containsOnlyASCIIWhitespace" on Node
Simon Fraser (smfr)
Reported
2024-01-02 16:15:36 PST
A call to `containsOnly<isASCIIWhitespace>()` from TreeResolver::resolveComposedTree() shows on on MotionMark profiles, and does the same computation on a Text node on every frame, so we can cache this.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-01-02 16:15:51 PST
<
rdar://problem/120391238
>
Simon Fraser (smfr)
Comment 2
2024-01-02 16:18:35 PST
Pull request:
https://github.com/WebKit/WebKit/pull/22327
EWS
Comment 3
2024-01-05 20:14:57 PST
Committed
272724@main
(ef19f93eea99): <
https://commits.webkit.org/272724@main
> Reviewed commits have been landed. Closing PR #22327 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug