Make _fast explicit in copy_n_from_history_fast

This commit is contained in:
Nigel Tao committed 2018-07-08 21:39:18 +10:00
1 parent 8a449fa92e
commit e49d464432
6 files changed
+131 -150

No files matched your search

+1 -1
View File
@@ -360,7 +360,7 @@ pri func decoder.decode_huffman_fast?(dst base.io_writer, src base.io_reader)()
assert (length as base.u64) <= in.dst.available() via "a <= b: a <= c; c <= b"(c:258)
// Copy from in.dst.
in.dst.copy_n_from_history!(n:length, distance:(dist_minus_1 + 1))
in.dst.copy_n_from_history_fast!(n:length, distance:(dist_minus_1 + 1))
break
}
}