Skip to content

fix: Speed up repo discovery with parallel traversal - #10

Merged
NoUseFreak merged 1 commit into
mainfrom
fix/parallel-repo-discovery
Jul 3, 2026
Merged

fix: Speed up repo discovery with parallel traversal#10
NoUseFreak merged 1 commit into
mainfrom
fix/parallel-repo-discovery

Conversation

@NoUseFreak

@NoUseFreak NoUseFreak commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • list_fzf regressed to a serial depth-first walk: each child directory's channel was fully drained before the next sibling started. Now siblings are traversed concurrently and merged into one channel, so results stream from all branches in parallel.
  • excludeDirs was checked against the parent (basedir) instead of the child path, so it never pruned anything. Now matched against the child, so exclusions actually take effect.

Walk sibling directories concurrently instead of draining each child
sequentially, and match excludeDirs against the child path so exclusions
actually prune subtrees.
@NoUseFreak
NoUseFreak merged commit 34f1752 into main Jul 3, 2026
3 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