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

csv-parser optimization ~-7.5% #1553

Merged
merged 1 commit into from
Oct 19, 2021
Merged

csv-parser optimization ~-7.5% #1553

merged 1 commit into from
Oct 19, 2021

Conversation

ritchie46
Copy link
Member

First check ascii, if that fails we continue
from where ascii fails with utf8 checking

This makes up for perf lost in #1551, but only if string data is ascii. If most of the first part of the column is ascii, its likely also faster.
Ideally this optimization goes upstream in arrow2.

FYI @jorgecarleitao

First check ascii, if that fails we continue
from where ascii fails with utf8 checking
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