Skip to content

Commit 2db76dd

Browse files
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 error
1 parent 7a1de9b commit 2db76dd

File tree

2 files changed

+224
-163
lines changed

2 files changed

+224
-163
lines changed

0 commit comments

Comments
 (0)