aboutsummaryrefslogtreecommitdiff
path: root/delta_write_encode.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-01-29 21:01:40 +0100
committerGravatar Runxi Yu2026-01-29 21:01:40 +0100
commitac400226b0b622aae21b09cb6c83f07924647d0d (patch)
treee97f3b6fe59fe36f00d2fe9934c4304b7c29fa68 /delta_write_encode.go
parentgo.mod: Introduce xxhash (diff)
signatureNo signature
delta, packed: Use xxhash instead of murmurhash2
Diffstat (limited to 'delta_write_encode.go')
-rw-r--r--delta_write_encode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/delta_write_encode.go b/delta_write_encode.go
index 66c77052..9e5e4e72 100644
--- a/delta_write_encode.go
+++ b/delta_write_encode.go
@@ -89,7 +89,7 @@ func deltaEncode(baseSize, resultSize int, instr []deltaInstruction) ([]byte, er
return out, nil
}
-func deltaTry(base, target []byte, seed uint32, minSavings int) ([]byte, bool) {
+func deltaTry(base, target []byte, seed uint64, minSavings int) ([]byte, bool) {
if minSavings < 0 {
minSavings = 0
}