mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
98e0371ae3
No wonder these were slower than expected. We were only reading 4
(32-bit) or 8 (64-bit) bytes at a time and feeding it to the hash
functions. Define a buffer size constant and use it correctly so we feed
8K at a time into the hashing algorithm.
This cut one larger `-Sw --noconfirm` operation, with nothing to
actually download so only timing integrity, from 3.3s to 1.7s.
This has been broken since the original commit
|
||
---|---|---|
.. | ||
libalpm |