Diffusion Ark fefce76c92fc

Improve checksums calculation

Authored by elvisangelaccio on Jul 9 2016, 4:47 PM.

Description

Improve checksums calculation

Summary:

  1. Compute also the MD5 in another thread (useful if the archive is huge)
  2. Drop the member QByteArray. If the archive is huge this could be bad on systems with low amount of RAM. QCryptographicHash accepts a QIODevice, so we can just read the file three times.

Differential Revision: D2123

Details

Committed
elvisangelaccioJul 9 2016, 4:47 PM
Differential Revision
D2123: Improve checksums calculation
Parents
R36:ffd58b00ed01: Silence a warning
Branches
Unknown
Tags
Unknown