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
The current Store trait uses &[u8] and Vec<u8> for keys and values in get/put/delete.
Store
&[u8]
Vec<u8>
get
put
delete
There are a few optimizations we can make based on ways we use these keys:
Key
Value
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The current
Store
trait uses&[u8]
andVec<u8>
for keys and values inget
/put
/delete
.There are a few optimizations we can make based on ways we use these keys:
Key
andValue
more flexible in terms of supporting both references and owned data (to reduce the amount of copying needed).The text was updated successfully, but these errors were encountered: