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

StorageItem: optimize binary representation #2379

Merged
merged 2 commits into from
Mar 8, 2021

Conversation

roman-khimov
Copy link
Contributor

After #2351 StorageItem is just a thin wrapper for some byte array in its
essence so we can Use the same trick as was used for storage keys in #1566 and
avoid additional wrapping/unwrapping with VarBytes encoding.

After neo-project#2351 StorageItem is just a thin wrapper for some byte array in its
essence so we can Use the same trick as was used for storage keys in neo-project#1566 and
avoid additional wrapping/unwrapping with VarBytes encoding.
@roman-khimov
Copy link
Contributor Author

It also technically allows to do item serialization without intermediate Value 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

Successfully merging this pull request may close these issues.

3 participants