Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement buffered file wrapper #2

Open
rklaehn opened this issue Jul 18, 2023 · 0 comments
Open

Implement buffered file wrapper #2

rklaehn opened this issue Jul 18, 2023 · 0 comments

Comments

@rklaehn
Copy link
Collaborator

rklaehn commented Jul 18, 2023

The current file wrapper is converting all reads/writes 1:1 to reads/writes to the underlying std::fs::File. This is OK for big reads, but less than optimal for small reads/writes.

Write a wrapper for which all reads and writes up to a certain size go through a buffer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant