mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 02:09:55 +08:00
c3af0a1eca
Before this change we calculated all possible hashes for the file when the `Hashes` method was called. After we only calculate the Hash requested. Almost all uses of `Hash` just need one checksum. This will slow down `rclone lsjson` with the `--hash` flag. Perhaps lsjson should have a `--hash-type` flag. However it will speed up sync/copy/move/check/md5sum/sha1sum etc. Before it took 12.4 seconds to md5sum a 1GB file, after it takes 3.1 seconds which is the same time the md5sum utility takes. |
||
---|---|---|
.. | ||
about_unix.go | ||
about_windows.go | ||
lchtimes_unix.go | ||
lchtimes.go | ||
local_internal_test.go | ||
local_test.go | ||
local.go | ||
preallocate_other.go | ||
preallocate_unix.go | ||
preallocate_windows.go | ||
read_device_other.go | ||
read_device_unix.go | ||
remove_other.go | ||
remove_test.go | ||
remove_windows.go | ||
tests_test.go |