aboutsummaryrefslogtreecommitdiff
path: root/delta_write_encode.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-02-20 12:49:27 +0800
committerGravatar Runxi Yu2026-02-20 12:57:31 +0800
commit7cb1995e2b431a900e23958e23565da7922e976a (patch)
tree57f90d1f84fa1ce15478630e2a957eee0b480e44 /delta_write_encode.go
parentRevert "delta: Fix indentation" (diff)
signatureNo signature
Revert "delta, packed: Use xxhash instead of murmurhash2"
This reverts commit ac400226b0b622aae21b09cb6c83f07924647d0d.
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 9e5e4e72..66c77052 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 uint64, minSavings int) ([]byte, bool) {
+func deltaTry(base, target []byte, seed uint32, minSavings int) ([]byte, bool) {
if minSavings < 0 {
minSavings = 0
}