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

Correct use of @lru_cache for helpers #189

Merged
merged 1 commit into from
Nov 15, 2024
Merged

Correct use of @lru_cache for helpers #189

merged 1 commit into from
Nov 15, 2024

Conversation

zvecr
Copy link
Member

@zvecr zvecr commented Nov 14, 2024

Description

Follow up to #168.

  • Avoid scanning for directories multiple times
  • maxsize=2 to 1 for functions with zero arguments
  • Remove unused import

@zvecr zvecr changed the title Correct use of lru_cache for helpers Correct use of @lru_cache for helpers Nov 14, 2024
@zvecr zvecr merged commit 75dcb0e into master Nov 15, 2024
13 checks passed
@zvecr zvecr deleted the fix_helpers_cache branch November 15, 2024 06:52
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