Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use find8 and find16 in AdaptiveStringSearcher #28403

Commits on May 11, 2024

  1. 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
    Constellation committed May 11, 2024
    Configuration menu
    Copy the full SHA
    31005e5 View commit details
    Browse the repository at this point in the history