Skip to content

Commit 06c1eee

Browse files
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

6 files changed

+372
-95
lines changed

Cargo.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ ratatui = "0.30.0"
9999
crossterm = "0.29.0"
100100

101101
# ───── Error Handling ─────
102-
thiserror = "2.0.17"
102+
thiserror = "2.0.18"
103103
anyhow = "1.0.100"
104104
miette = { version = "7.6.0", features = ["fancy"] }
105105

0 commit comments

Comments
 (0)