Commit 2db76dd
committed
perf(lib): stream download and extraction in single pass
- Replace two-phase download-then-extract with streaming pipeline
- Use io.TeeReader for concurrent SHA256 checksum calculation
- Eliminate temporary file storage (~100MB disk I/O saved)
- Add progress reporting with percentage and MB counters
- Fetch expected checksum before download for early verification
- Clean up extracted files on checksum mismatch or extraction error1 parent 7a1de9b commit 2db76dd
2 files changed
+224
-163
lines changed
0 commit comments