We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 563d273 commit efa5a2dCopy full SHA for efa5a2d
inffast_chunk.h
@@ -39,13 +39,12 @@
39
extra, 15 bits for the distance code, 13 bits for distance extra) requires
40
reading up to 48 input bits (6 bytes).
41
42
- Chunked decoding, with two 10-bit fastpath cases, can read (10 + 10 + 15
43
- + 5 + 15 + 13) / 8 = 8.5 bytes, followed by an 8-byte preload for the next
44
- iteration, giving 17 bytes.
+ For chunked decoding use a hopefully-pesimistic bound of two worst-case
+ advances: 7 + 7, plus one 8-byte refill.
45
*/
46
#ifdef INFLATE_CHUNK_READ_64LE
47
#undef INFLATE_FAST_MIN_INPUT
48
-#define INFLATE_FAST_MIN_INPUT 17
+#define INFLATE_FAST_MIN_INPUT 22
49
#endif
50
51
/* INFLATE_FAST_MIN_OUTPUT is usually 258, but we can copy two fast-path bytes
0 commit comments