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

Avoid repeated loop over timezones #1238

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Conversation

nijel
Copy link
Contributor

@nijel nijel commented Oct 2, 2024

By removing repeated iteration over timezones, the import time is reduced by 5-10%.

By removing repeated iteration over timezones, the import time is reduced by 5-10%.
@Gallaecio
Copy link
Member

Wow, great catch!

@nijel
Copy link
Contributor Author

nijel commented Oct 2, 2024

Hmm, seems like ordering does matter in the end, looking into the test failures.

@nijel
Copy link
Contributor Author

nijel commented Oct 2, 2024

Hmm, I'm getting the same failures on the master branch, so these are probably unrelated to my changes.

@Gallaecio Gallaecio merged commit 6a7c91c into scrapinghub:master Oct 2, 2024
3 of 13 checks passed
@nijel nijel deleted the patch-2 branch October 2, 2024 10: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.

2 participants