perf: _find_all_targets()
has quadratic complexity because of Git.is_tracked()
#3000
Labels
enhancement
Enhances DVC
p2-medium
Medium priority, should be done, but less important
performance
improvement over resource / time consuming tasks
Git.is_tracked()
recreates a list of tracked files for each call and is called for each filewalk_files()
will find. Both lists are proportional to repo size, which makes_find_all_targets() ~ O(repo_size ** 2)
.The text was updated successfully, but these errors were encountered: