blockstore: OpenReadOnly shouldn't need to parse the entire index into memory in some cases
Open
P3
- Dominant language
- Go
- Stars
- 175
- Forks
- 54
- Avg merge
- 6d 5h
- Merged PRs (30d)
- 4
Description
Right now we always read and unmarshal an existing whole index into memory.
Luckily, IndexSorted is designed to allow using directly as a mmapped []byte from disk. If OpenReadOnly is called with a carv2 file that has a sorted index, we should use the index straight from the mmap.
cc @masih @willscott
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.