Crates.io | reapfrog |
lib.rs | reapfrog |
version | 0.2.0 |
source | src |
created_at | 2017-05-10 21:06:20.976223 |
updated_at | 2017-08-02 14:52:22.704919 |
description | Readahead and dropbehind over multiple files |
homepage | |
repository | https://github.com/the8472/reapfrog |
max_upload_size | |
id | 14063 |
size | 24,878 |
The library optimizes single-pass reading of many small files by taking a path
iterator as input and returning Read
implementations for each file that automatically
schedule posix_fadvise
readaheads for the following files to always keep a prefetch window
ahead of the current read position, even across files.
Can also perform dropbehind to avoid cluttering the disk caches, but this is optional since it might interfere with other processes accessing those files at the same time.