diff options
| author | 2026-03-05 19:45:55 +0800 | |
|---|---|---|
| committer | 2026-03-05 19:45:55 +0800 | |
| commit | 52d09308c07722daaeb66b5c4d65a91d460abd5d (patch) | |
| tree | a2e75d8c78dc597575a440755e15722393f22872 /format/pack/ingest/state.go | |
| parent | format/pack/ingest: Optimize writes (diff) | |
| signature | No signature | |
format/pack/ingest: That was silly, obviously just use the ObjectID
Diffstat (limited to 'format/pack/ingest/state.go')
| -rw-r--r-- | format/pack/ingest/state.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/format/pack/ingest/state.go b/format/pack/ingest/state.go index 7033a6f6..3fabe639 100644 --- a/format/pack/ingest/state.go +++ b/format/pack/ingest/state.go @@ -35,7 +35,7 @@ type ingestState struct { refDeltas []refDeltaRef unresolvedRefDeltas []int offsetToRecord map[uint64]int - objectToRecord map[string]int + objectToRecord map[objectid.ObjectID]int baseCache *deltaBaseCache packHash objectid.ObjectID @@ -65,7 +65,7 @@ func newIngestState( writeRev: writeRev, base: base, offsetToRecord: make(map[uint64]int), - objectToRecord: make(map[string]int), + objectToRecord: make(map[objectid.ObjectID]int), baseCache: newDeltaBaseCache(defaultDeltaBaseCacheMaxBytes), }, nil } |
