[Webkit-unassigned] [Bug 273568] New: Avoid copying FontPallette and FontVariantAlternatives
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 1 13:10:33 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=273568
Bug ID: 273568
Summary: Avoid copying FontPallette and FontVariantAlternatives
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bfulgham at webkit.org
Reduce unnecessary copies in our font handling code:
(1) FontPalette is a struct containing an enum and an AtomString, and should be returned by const reference to avoid copying that string.
(2) FontVariantAlternatives is lightweight, containing only a `Markable`, but the `Markable` is holding a very heavy-weight object that contains Vectors of Strings, and Strings.
--
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/20240501/f53eba04/attachment.htm>
More information about the webkit-unassigned
mailing list