Skip to content

Conversation

@pmeier
Copy link
Member

@pmeier pmeier commented Nov 8, 2023

Closes #181. package_distributions seems to involve heavy path operations that we only need to perform once. On my system, this nets us a 4x decrease in function calls and 2.5 seconds faster import. On slower file systems the latter number is probably even more pronounced. Benchmark in #181 (comment).

Thanks @nenb for pointing this out!

@pmeier pmeier merged commit dc497ef into main Nov 8, 2023
@pmeier pmeier deleted the cache-package-distributions branch November 8, 2023 23:21
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.

[BUG] - Package imports take an unusually long time to complete

2 participants