-
Notifications
You must be signed in to change notification settings - Fork 2
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
Vectorized file writes #20
Conversation
fe238af
to
d70ca8e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like there's a lot of duplicated code between ChunkIndexBuffer & ShardIndexBuffer. Could they be combined?
Actually they don't belong there. Those are artifacts from something I was trying but discarded. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Adds a class which takes a
std::vector<std::span<std::byte>>>&
and writes the contents of each span in a vectorized fashion to the filesystem. Includes some system-dependent code because of course it does.Also adds benchmarking code so that we can test streaming performance before and after this change.