-
Notifications
You must be signed in to change notification settings - Fork 138
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
Optimize encoding of composites #744
Labels
Comments
I'm getting following performance gains on linux_amd64 with Go 1.15.10. Comparisons Using Production DataEncoding
Decoding
|
fxamacker
added a commit
to fxamacker/cadence
that referenced
this issue
Apr 4, 2021
Switch from CBOR map to CBOR array to improve speed and preserve ordering. Remove unnecessary field sorting when decoding. Remove old backwards-compatibility decoding code (decoding type ID). Add tests, including round-trip for decoding old format and encoding new format. Closes onflow#744
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue To Be Solved
The encoding of composites to CBOR values can be optimized.
Suggestion
Definition of Done
The text was updated successfully, but these errors were encountered: