Mercurial > dedupe
diff FileDBLink.cpp @ 15:199fc63c60c1
Increase buffersize for filehash computing.
| author | Tom Fredrik Blenning Klaussen <bfg@sim.no> |
|---|---|
| date | Sat, 25 Aug 2012 01:42:13 +0200 |
| parents | 9463c0c22969 |
| children | b2c2c2bf2bbd |
line wrap: on
line diff
--- a/FileDBLink.cpp Fri Aug 24 23:02:01 2012 +0200 +++ b/FileDBLink.cpp Sat Aug 25 01:42:13 2012 +0200 @@ -37,7 +37,7 @@ QByteArray FileDBLink::computeHash(const QString& path, QCryptographicHash::Algorithm algorithm) { - const static uint buffersize = 8192; + const static uint buffersize = 32768; QCryptographicHash hash(algorithm); QFile file(path); if ( file.open( QIODevice::ReadOnly ) ) {
