Large files on an aindrive drive open several times faster #3
Reference in New Issue
Block a user
Delete Branch "reuse-last-read"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Memona reads a remote file one 1 MiB slice per call, and each slice fetched the whole file again. The last file read is now kept for the slices that follow, reused only while a fresh stat shows the same revision. Follows lead/memona-plugin-aindrive#2
Verified: 40 unit tests; through Memona's host an 8 MiB file read in 1.1 s instead of 6.8 s, and in the app its download took 1.5 s, matching its SHA-256. Nothing on screen changes.
🤖 Generated with Claude Code
✅ Approved
Stat-validated cache reuse is correct; no blocking findings.
Review
Strengths
Checks
cargo fmt --checkcargo clippy --locked --all-targets -- -D warningscargo test --locked --lib(40 passed)cargo build --locked --release --target wasm32-wasip2git diff --check cc320ee..969e1d5Declined to judge