Compute disk buffer initial_size
with Jean's method
#7408
Labels
domain: buffers
Anything related to Vector's memory/disk buffers
initial_size
with Jean's method
#7408
@blt Actually, looking at the crate, there does appear to be a
LevelDBIterator
trait, which has afrom
(andto
) method which seems to imply we can iterate over an arbitrary range of keys.It seems to me we could create a DB handle, iterate X times, get the key of the last item, and set that as the starting key for the next DB handle iterator. Reading the offiial docs it appears key ordering happens lexicographically, which implies we can have stable ordering across DB handles at startup when the cache isn't actually in use, correct?
Originally posted by @JeanMertz in #7398 (comment)
The text was updated successfully, but these errors were encountered: