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

Conversation

tomtau
Copy link
Contributor

@tomtau tomtau commented Nov 30, 2022

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): #737 (comment) once memchr has the Arm SIMD support, this could be perhaps the default implementation.
For Aho-Corasick, it'll require more investigation.

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.
@tomtau tomtau requested a review from a team November 30, 2022 12:52
@tomtau tomtau requested a review from a team as a code owner November 30, 2022 12:52
@tomtau tomtau requested review from nathanielknight and NoahTheDuke and removed request for a team November 30, 2022 12:52
@tomtau tomtau merged commit 1e40766 into pest-parser:master Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants