[Webkit-unassigned] [Bug 279498] REGRESSION (282580 at main): 4.5MB binary size increase
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 11 16:49:26 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=279498
--- Comment #4 from Sam Weinig <sam at webkit.org> ---
Took a little look at this, and it looks like the majority of the growth is in, of all places, the macho strings table.
Looking into this more, it seems there is a relatively well known issue with std::visit, at least as implemented by libc++.
A good resource, with links to other discussions and solutions is https://mpark.github.io/programming/2019/01/22/variant-visitation-v2/.
I'm going to try using the mpark::variant/visitor (https://github.com/mpark/variant) for the CSSCalc code and see what effect that has on code size. There may end up being a more surgical fix, but this is an interesting first step.
--
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/20240911/2a0811df/attachment.htm>
More information about the webkit-unassigned
mailing list