Improve dependency resolution performance by not clearing caches when backtracking#7950
Merged
radoering merged 4 commits intopython-poetry:masterfrom chriskuehl:dependency-resolution-perfMay 23, 2023
+163-41
Commits
Commits on May 23, 2023
perf: don't clear the entire contradicted_incompatibilies cache when backtracking (python-poetry#7950)
perf: avoid iterating through multiple caches for contradicted_incompatibilities (python-poetry#7950)
perf: improve DependencyCache lru_cache hit rate, avoid iterating through lots of levels (python-poetry#7950)