Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PR #6274/14b19afc backport][stable-5] archive: Generate crc32 over 1…
…6MiB chunks (#6325) archive: Generate crc32 over 16MiB chunks (#6274) * archive: Generate crc32 over 16MiB chunks Running crc32 over the whole content of the compressed file potentially requires a lot of RAM. The crc32 function in zlib allows for calculating the checksum in chunks. This changes the code to calculate the checksum over 16 MiB chunks instead. 16 MiB is the value also used by shutil.copyfileobj(). * Update changelogs/fragments/6199-archive-generate-checksum-in-chunks.yml Change the type of change to bugfix Co-authored-by: Felix Fontein <[email protected]> * Update changelogs/fragments/6199-archive-generate-checksum-in-chunks.yml Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 14b19af) Co-authored-by: Nils Meyer <[email protected]>
- Loading branch information