aboutsummaryrefslogtreecommitdiff
path: root/delta_write_select.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_select.go
parentgo.mod: Introduce xxhash (diff)
signatureNo signature
delta, packed: Use xxhash instead of murmurhash2
Diffstat (limited to 'delta_write_select.go')
-rw-r--r--delta_write_select.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/delta_write_select.go b/delta_write_select.go
index ad8e0d0e..9113b80f 100644
--- a/delta_write_select.go
+++ b/delta_write_select.go
@@ -26,7 +26,7 @@ func (ctx *deltaContext) addCandidate(obj *objectToPack) {
}
}
-func pickDeltaBase(ctx *deltaContext, obj *objectToPack, seed uint32, minSavings, maxDepth int) (*objectToPack, []byte) {
+func pickDeltaBase(ctx *deltaContext, obj *objectToPack, seed uint64, minSavings, maxDepth int) (*objectToPack, []byte) {
if ctx == nil || len(ctx.candidates) == 0 {
return nil, nil
}