We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, data being passed as a vector, which requires data to be clonned on Bob's side. Probably, we can receive data as a slice &[u8]
&[u8]
https://github.com/qoollo/pearl/blob/master/src/storage/core.rs#L249
The text was updated successfully, but these errors were encountered:
Holder:write_disk
We can use Bytes (https://docs.rs/bytes/latest/bytes/struct.Bytes.html) instead of slice, if it is impossible to use slice to achieve zero copying
Bytes
Sorry, something went wrong.
idruzhitskiy
Successfully merging a pull request may close this issue.
Currently, data being passed as a vector, which requires data to be clonned on Bob's side. Probably, we can receive data as a slice
&[u8]
https://github.com/qoollo/pearl/blob/master/src/storage/core.rs#L249
The text was updated successfully, but these errors were encountered: