AWFileHash icon indicating copy to clipboard operation
AWFileHash copied to clipboard

What's the point of sleep(1) in hashOfFileAtPath method?

Open mixtly87 opened this issue 4 years ago • 0 comments

I have to calculate md5 hash of many files. Each file takes at least 1s because of intentional sleep(1). What's the purpose of the sleep since it's a major performance issue for me?

https://github.com/leetal/AWFileHash/blob/78ebdc7bdd3a204d447498a1c0fc31c69d41ef74/Pod/Classes/AWFileHash.m#L169

mixtly87 avatar Jul 13 '21 12:07 mixtly87