Set decoder_workbuf_len_max_incl_worst_case to 1

This commit is contained in:
Nigel Tao committed 2019-02-16 12:31:23 +11:00
1 parent 77c778fb2e
commit 33eae7ae40
5 files changed
+25 -30

No files matched your search

+3 -1
View File
@@ -31,7 +31,9 @@ pri status "?internal error: inconsistent I/O"
pri status "?internal error: inconsistent distance"
pri status "?internal error: inconsistent n_bits"
pub const decoder_workbuf_len_max_incl_worst_case base.u64 = 32768 + 512
// TODO: replace the placeholder 1 value with either 0 or (32768 + 512),
// depending on whether we'll move decoder.history into the workbuf.
pub const decoder_workbuf_len_max_incl_worst_case base.u64 = 1
// The next two tables were created by script/print-deflate-magic-numbers.go.
//