Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 committed Nov 26, 2024
1 parent a3459ad commit 7cd7fad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/value_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,10 @@ impl<C: Compressor + Clone> ValueLog<C> {
self.blob_cache
.insert((self.id, vhandle.clone()).into(), val.clone());

// TODO: maybe we can look at the value size and prefetch some more values
// without causing another I/O...
// TODO: benchmark range reads for rather small non-inlined blobs (maybe ~512-1000B)
// and see how different BufReader capacities and prefetch changes range read performance
for _ in 0..prefetch_size {
let offset = reader.get_offset()?;

Expand Down

0 comments on commit 7cd7fad

Please sign in to comment.