Open caub opened 6 years ago
If you pass the ArrauBuffer instead of Uint8Array at line 26, SparkMD5.ArrayBuffer.hash(buffer); , spark-md5 is faster. https://jsfiddle.net/Lg08dup3/
Yea, but in that case be fair and pass buffer to all, and then js-md5 is back 20-25% faster https://jsfiddle.net/crl/bcv1y5ju/
https://jsfiddle.net/crl/6uaktq3s/ it seems js-md5 is faster