Skip to content

feat: cache venv_lookup results per directory with LRU cache#91

Merged
FabienArcellier merged 3 commits into
masterfrom
feat/resolve-virtual-env-once-per-directory
Mar 3, 2026
Merged

feat: cache venv_lookup results per directory with LRU cache#91
FabienArcellier merged 3 commits into
masterfrom
feat/resolve-virtual-env-once-per-directory

Conversation

@FabienArcellier

@FabienArcellier FabienArcellier commented Mar 2, 2026

Copy link
Copy Markdown
Owner

Performance optimization of alfred by caching virtual environment resolution per project directory.

  • feat: add @lru_cache decorator to venv_lookup function
  • feat: add venv_lookup_cache_clear() for test isolation
  • test: add cache clearing fixture to integration tests

@FabienArcellier
FabienArcellier force-pushed the feat/resolve-virtual-env-once-per-directory branch 7 times, most recently from 51fb004 to 435fd44 Compare March 3, 2026 07:29
- feat: add @lru_cache decorator to venv_lookup function
- feat: add venv_lookup_cache_clear() for test isolation
- test: add cache clearing fixture to integration tests
- test: add unit tests for caching behavior

Generated-by: OpenCode with Model umans/umans-coder
@FabienArcellier
FabienArcellier force-pushed the feat/resolve-virtual-env-once-per-directory branch from 435fd44 to 447b1db Compare March 3, 2026 07:31
@FabienArcellier
FabienArcellier merged commit 7585611 into master Mar 3, 2026
12 checks passed
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.

1 participant