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

perf: add a faster skip_until using SIMD memchr #745

Merged
merged 1 commit into from Dec 2, 2022

Commits on Nov 30, 2022

  1. perf: add a faster skip_until using SIMD memchr

    it was put under the "memchr" feature-flag, as memchr SIMD support
    is only on x86_64 at the moment (json bench is ~8% faster over baseline there):
    pest-parser#737 (comment)
    once memchr has the Arm SIMD support, this could be perhaps the default
    implementation.
    For Aho-Corasick, it'll require more investigation.
    Tomas Tauber committed Nov 30, 2022
    Copy the full SHA
    c822c95 View commit details
    Browse the repository at this point in the history