Skip to content

Commit

Permalink
zstd: Revert table size change (#789)
Browse files Browse the repository at this point in the history
* zstd: Revert table size change

Can't decide on this one. So leaving it out for now.

* Add fuzz files up to 8K to base set.
  • Loading branch information
klauspost committed Mar 24, 2023
1 parent 4bac43a commit 382ea74
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zstd/enc_best.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

const (
bestLongTableBits = 23 // Bits used in the long match table
bestLongTableBits = 22 // Bits used in the long match table
bestLongTableSize = 1 << bestLongTableBits // Size of the table
bestLongLen = 8 // Bytes used for table hash

Expand Down
Binary file modified zstd/testdata/fuzz/encode-corpus-encoded.zip
Binary file not shown.

0 comments on commit 382ea74

Please sign in to comment.