This repository was archived by the owner on Jul 11, 2026. It is now read-only.
Commit 6dba9ed
test(verify): RED — verify() on a shared &self for parallel decompression
verify() hashes the whole image; MD5/SHA1 are serial, but the zlib
decompression (the CPU cost) is not. The parallel consumer requires verify to
take &self so chunks can decompress concurrently. Adds a test that calls
verify() on a non-mut binding (forces &self) and asserts the computed MD5
still matches exfat1.E01's stored MD5 — i.e. parallel decompression
reproduces the exact serial byte stream.
Fails to compile today: verify is &mut self. GREEN parallelizes the
decompression behind a &self signature.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent ef0ea45 commit 6dba9ed
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
0 commit comments