diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-05-12 17:50:50 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-05-12 17:50:50 +0200 |
| commit | 563f1a3a3c2db5eb595ae2f9e1c78b1e357cc25a (patch) | |
| tree | ce2ed27049e8f8986d9fd95c326cf9639aad9ec3 /Taskfile.yml | |
| parent | 800f9ef5271920fc58dc2bdce0f8c2296665937f (diff) | |
kdev: parallelize file processing with a bounded worker pool
Walk stays single-threaded; NumCPU workers pull file paths from a
buffered channel and run processFile concurrently. Results flow back
through a second channel drained by a collector goroutine.
processFile now returns []Record instead of appending to a shared
pointer, making it safe to call from multiple goroutines without
locking.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'Taskfile.yml')
0 files changed, 0 insertions, 0 deletions
