Skip to content

add a readahead option for aselmdb

LMDBs can be opened with readahead=True (current default, good for sequential reads) or readahead=False (good for random reads like you'd find in a usual ML pipeline).

This PR simply adds a flag to override the readahead default if the user desires. Both should work just fine either way, it's just a difference in performance.

Merge request reports

Loading