[webkit-changes] [WebKit/WebKit] 31005e: Use find8 and find16 in AdaptiveStringSearcher

Yusuke Suzuki noreply at github.com
Fri May 10 18:51:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 31005e5e9299e6a7957bb30a85458a77a719ddad
      https://github.com/WebKit/WebKit/commit/31005e5e9299e6a7957bb30a85458a77a719ddad
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-05-10 (Fri, 10 May 2024)

  Changed paths:
    M Source/WTF/wtf/text/AdaptiveStringSearcher.h

  Log Message:
  -----------
  Use find8 and find16 in AdaptiveStringSearcher
https://bugs.webkit.org/show_bug.cgi?id=274010
rdar://127894478

Reviewed by Mark Lam.

We should just use find8 and find16 in AdaptiveStringSearcher.
Since we have find16, we do not need to use memchr hack here.

* Source/WTF/wtf/text/AdaptiveStringSearcher.h:
(WTF::AdaptiveStringSearcherBase::findFirstCharacter):
(WTF::AdaptiveStringSearcherBase::alignDown): Deleted.
(WTF::AdaptiveStringSearcherBase::getHighestValueByte): Deleted.

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list