czkawka icon indicating copy to clipboard operation
czkawka copied to clipboard

Strange sentence on CLI “may speed up will cause”

Open alexislefebvre opened this issue 2 years ago • 3 comments

assigning bigger value may speed up will cause that lower amount of files

It's written here: https://github.com/qarmin/czkawka/blob/e3cea6763453516d251ada0013a32ef41dadc2e8/czkawka_cli/src/commands.rs#L25

I would open a PR but I'm not sure to understand the meaning of this part.

alexislefebvre avatar Jul 13 '22 11:07 alexislefebvre

Probably this was something like: bigger value, slower loading of cache but faster scan smaller value, faster loading of cache but some files will need to be hashed again

loading < 1million cache entries should take probably on most machines < 1s

qarmin avatar Jul 14 '22 19:07 qarmin

Maybe means

"Minimum size of cached files in bytes, setting to bigger value for faster scanning, or smaller value for faster loading yet some files may required to be re-hash again."

chchia avatar Jul 20 '22 04:07 chchia

I think this could cause less misinterpretations: "Minimum size of cached files in bytes, a bigger value can make the cache faster at the expense of more small files to be reloaded every time"

safetycar avatar Jul 20 '22 13:07 safetycar