[Webkit-unassigned] [Bug 222518] Reduce compile time and binary size cost of enabling proper CSSStyleDeclaration property access behavior

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 2 07:17:13 PST 2021


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

Sam Sneddon [:gsnedders] <gsnedders at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gsnedders at apple.com

--- Comment #4 from Sam Sneddon [:gsnedders] <gsnedders at apple.com> ---
(In reply to Sam Weinig from comment #1)
> A very simple idea, but with a runtime cost (though unlikely a runtime
> regression from the legacy code currently in the build, we should test)
> would be to replace all the getter / setters implementations with a single
> pair that re-lookup the name. Unfortunately, it seems only getters are
> passed their name in the callback, so at best (without making changes to
> JSC) we only be able to replace half the functions.

I'd be curious about why JSC has that asymmetry? At the spec level, neither getters nor setters are passed their names, so presumably there's some reason for this in JSC?

Also: how big is the binary size regression at this point? Is it just the generated getter/setter functions that dominate the regression?

-- 
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/20210302/da649827/attachment-0001.htm>


More information about the webkit-unassigned mailing list