Add std/adler32 bench comment for the roll back

This commit is contained in:
Nigel Tao committed 2021-04-28 22:38:10 +10:00
1 parent 0a6cce5e0e
commit e77d73e3ce
1 file changed
+4
+4
View File
@@ -25,6 +25,10 @@ pub func hasher.update_u32!(x: slice base.u8) base.u32 {
if not this.started {
this.started = true
this.state = 1
// There used to be an up_x86_avx2 implementation too, but while it
// made the std/adler32 micro-benchmarks better, it also made the
// std/zlib and std/png micro-benchmarks worse. See commit baec831f
// "Add std/adler32 hasher.up_x86_avx2".
choose up = [
up_arm_neon,
up_x86_sse42]