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

[Opta] Load competitions dataframe more efficiently #678

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

probberechts
Copy link
Member

This commit improves the performance of the OptaLoader.competitions() method. Previously, this method was very slow when loading data from a directory with many data files, since it parsed every single file. This is solved by parsing only one file per competition-season pair.

This commit improves the performance of the OptaLoader.competitions() method.
Previously, this method was very slow when loading data from a directory with many
data files, since it parsed every single file. This is solved by parsing only one
file per competition-season pair.
@probberechts probberechts added the performance A code change that improves performance label Mar 7, 2024
@probberechts probberechts changed the title [Opta] Load competitions more efficiently [Opta] Load competitions dataframe more efficiently Mar 7, 2024
@probberechts probberechts merged commit 68c59f7 into master Mar 7, 2024
20 checks passed
@probberechts probberechts deleted the perf/opta-load-comps branch June 23, 2024 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance A code change that improves performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant