Skip to content

Conversation

@Jiyath5516F
Copy link

Replace whole-file buffering with chunked read/write and incremental MD5 so the patch generator/applier can handle files larger than 1GB. Adds CHUNK_SIZE-based processing, incremental checksum, progress hooks, and file-size warnings.

Key changes

  • diff.js: use File.slice + chunked FileReader instead of loading entire files
  • Incremental MD5 (SparkMD5.ArrayBuffer) and chunked XOR patch generation/application
  • Progress updates via window.updateProgress and user warnings for very large files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant