You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LocalFileSystem: use read_at instead of seek + read #622
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Currently, the LocalFileSystem uses seek followed by a read, which saves a syscall per request.
// Platform specific traits needed for read_at
#[cfg(unix)]
use std::os::unix::fs::FileExt;
#[cfg(windows)]
use std::os::windows::fs::FileExt;
let file = Arc::new(File::open(path)?);
file.read_at(&mut buf, 500).unwrap();
...
Activity
AdamGS commentedon Jan 27, 2026
glad to take this if you didn't get started