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 517288e commit 29a7d27Copy full SHA for 29a7d27
zstd/enc_base.go
@@ -8,7 +8,7 @@ import (
8
)
9
10
const (
11
- dictShardBits = 6
+ dictShardBits = 7
12
13
14
type fastBase struct {
zstd/enc_dfast.go
@@ -13,7 +13,7 @@ const (
dFastLongLen = 8 // Bytes used for table hash
15
dLongTableShardCnt = 1 << (dFastLongTableBits - dictShardBits) // Number of shards in the table
16
- dLongTableShardSize = dFastLongTableSize / tableShardCnt // Size of an individual shard
+ dLongTableShardSize = dFastLongTableSize / dLongTableShardCnt // Size of an individual shard
17
18
dFastShortTableBits = tableBits // Bits used in the short match table
19
dFastShortTableSize = 1 << dFastShortTableBits // Size of the table
0 commit comments