Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c62b38e4e53b4988a5165873279371c16d9b4e28
      
https://github.com/WebKit/WebKit/commit/c62b38e4e53b4988a5165873279371c16d9b4e28
  Author: Simon Fraser <[email protected]>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/Font.h

  Log Message:
  -----------
  Optimize layout of Font to reduce padding
https://bugs.webkit.org/show_bug.cgi?id=251774
<rdar://problem/105068653>

Reviewed by Darin Adler.

Make SupportsFeature 8-bit. Reorder members to optimize padding. More could be 
achieved by avoiding std::optional<>.

Reduces size from 1272 to 1256 bytes.

* Source/WebCore/platform/graphics/Font.h:

Canonical link: https://commits.webkit.org/259896@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to