Commit 06c1eee
committed
feat: parallel multi-drive search with streaming results
- Rewrite search_multi_drive_filtered() to use tokio::spawn for parallel I/O
- All drives read concurrently instead of sequentially
- Results stream via mpsc channel as each drive completes
- Add OwnedQueryFilters for thread-safe filter sharing
- Add DriveResult struct for per-drive result tracking
- Merge filtered results incrementally as they arrive
- Log shows progress as 'X/Y drives completed'
Performance: N drives now complete in ~max(drive_time) instead of sum(drive_times)1 parent 9f17cd4 commit 06c1eee
File tree
6 files changed
+372
-95
lines changed- crates
- uffs-cli/src
- uffs-core/src
- uffs-mft/src
6 files changed
+372
-95
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
0 commit comments