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

Improve type-inference performance #809

Merged
merged 16 commits into from
Dec 27, 2021
Merged

Improve type-inference performance #809

merged 16 commits into from
Dec 27, 2021

Conversation

johnkerl
Copy link
Owner

This is approximately an 34% performance improvement. The idea is to be a bit more careful in inspecting strings -- such as CSV fields -- to see if they represent int/float/string. Before this we were using built-in library functions, which were nice and simpler. However this was using some expensive things to answer simple questions, including an is-octal regex on every single type-infer.

@johnkerl johnkerl merged commit e10fee0 into main Dec 27, 2021
@johnkerl johnkerl deleted the linux-and-1.17-perf branch December 27, 2021 05:55
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.

None yet

1 participant