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

Fast lane #128

Merged
merged 22 commits into from
Feb 12, 2024
Merged

Fast lane #128

merged 22 commits into from
Feb 12, 2024

Conversation

riquito
Copy link
Owner

@riquito riquito commented Feb 12, 2024

Add a simpler, faster parser to use when stars align.
It's still line-based (so we have to read once the line before reading it again to search for fields), but it's much faster, due to a combination of using responsibly &[u8] instead of &str, faster line reader (which maybe we will use also for regular cut_str), and one-byte delimiter, which allows us to use memchr and its SIMD optimizations.

It can likely be used for cut_bytes too, but that's for another PR.

@riquito riquito merged commit 2c6d411 into master Feb 12, 2024
2 checks passed
@riquito riquito deleted the fast-lane branch February 12, 2024 00:42
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.

1 participant