Open gfwilliams opened 9 years ago
Something like this:
function checksum(m) { "compiled"; var ck = 0; var l = 0|m.length; var c = m.charCodeAt.bind(m); for (var i=0;i<l;i++) ck ^= c(i); return ck; }
Isn't as fast as it could be, because ck is treated as a JsVar, not an int.
ck
Something like this:
Isn't as fast as it could be, because
ck
is treated as a JsVar, not an int.