Skip to content

Avoid repeated loop over timezones#1238

Merged
Gallaecio merged 1 commit intoscrapinghub:masterfrom
nijel:patch-2
Oct 2, 2024
Merged

Avoid repeated loop over timezones#1238
Gallaecio merged 1 commit intoscrapinghub:masterfrom
nijel:patch-2

Conversation

@nijel
Copy link
Copy Markdown
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
Copy Markdown
Contributor

Wow, great catch!

@nijel
Copy link
Copy Markdown
Contributor Author

nijel commented Oct 2, 2024

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

@nijel
Copy link
Copy Markdown
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
@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