Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 53b95eb35d950ea57cb4bdd1632042fe7260c026
      
https://github.com/WebKit/WebKit/commit/53b95eb35d950ea57cb4bdd1632042fe7260c026
  Author: Chris Dumez <[email protected]>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

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

  Log Message:
  -----------
  Simplify SmallStringKey in the WidthCache
https://bugs.webkit.org/show_bug.cgi?id=262544

Reviewed by Darin Adler.

Simplify SmallStringKey in the WidthCache by relying on StringView::hash()
instead of duplicating the hashing logic there.

This tested as perf-neutral on Speedometer.

* Source/WebCore/platform/graphics/WidthCache.h:
(WebCore::WidthCache::SmallStringKey::SmallStringKey):
(WebCore::WidthCache::addSlowCase):

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


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

Reply via email to