[Webkit-unassigned] [Bug 117488] Consider atomicizing inline scripts before execution

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 7 10:11:52 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=117488

--- Comment #5 from Darin Adler <darin at apple.com> ---
(In reply to Chris Dumez from comment #4)
> If I remember correctly, it was a speedometer progression to not atomize whitespace.

I didn’t know that.

If there is a significant memory savings, we could seek out an efficient way to atomize whatever we need to. For example, I can imagine a *very* efficient way to atomize the most common simple runs of whitespace that would be different from general purpose AtomString construction.

For the text in <style> and <script> elements I feel confident we could do the atomizing without affecting other parsing so likely mitigate the performance cost.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230707/0cf88f5f/attachment.htm>


More information about the webkit-unassigned mailing list