Make BlobHandle substruct of Blob
This commit is contained in:
parent
c844580e0f
commit
92bd448691
8 changed files with 67 additions and 43 deletions
|
@ -296,9 +296,11 @@ func BenchmarkLoadIndex(b *testing.B) {
|
|||
for i := 0; i < 5000; i++ {
|
||||
idx.Store(restic.PackedBlob{
|
||||
Blob: restic.Blob{
|
||||
Type: restic.DataBlob,
|
||||
BlobHandle: restic.BlobHandle{
|
||||
Type: restic.DataBlob,
|
||||
ID: restic.NewRandomID(),
|
||||
},
|
||||
Length: 1234,
|
||||
ID: restic.NewRandomID(),
|
||||
Offset: 1235,
|
||||
},
|
||||
PackID: restic.NewRandomID(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue