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

benchmark a reasonable size for the buffer #31

Open
Razaloc opened this issue Oct 6, 2022 · 1 comment
Open

benchmark a reasonable size for the buffer #31

Razaloc opened this issue Oct 6, 2022 · 1 comment

Comments

@Razaloc
Copy link
Contributor

Razaloc commented Oct 6, 2022

In bmap::copy we use a vector as buffer. We need to find the right size to set it up before using it. The current value is 8 * 1024 * 1024. (bmap/src/lib.rs line 46)

@Razaloc
Copy link
Contributor Author

Razaloc commented Nov 25, 2022

As an idea this value could be a constant since it's going to be shared by different copy functions. Something like BUFFER_SIZE

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

No branches or pull requests

1 participant