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

Reduce median dialect detection time by ~64% #96

Merged
merged 3 commits into from
Apr 7, 2023

Conversation

GjjvdBurg
Copy link
Collaborator

This PR brings a redesign of the consistency score calculation to allow for caching of the type detection results. This reduces the median runtime by 64% compared to the current master branch (computed similarly as in #92). The average runtime on our test set is reduced by ~32% compared to the current master branch. It is likely that further performance improvements are possible.

Compared to v0.7.6, CleverCSV is now ~52% faster on average, and median runtime is reduced by 68%.

This redesign allows for caching the type detection
results across dialects
@GjjvdBurg GjjvdBurg merged commit 4f7d46b into master Apr 7, 2023
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