-
Notifications
You must be signed in to change notification settings - Fork 12
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
Update for Cadence integration for atree inlining and deduplication #352
Merged
fxamacker
merged 16 commits into
fxamacker/add-composite-type-to-smoke-test
from
fxamacker/array-map-inlining-tweaks
Oct 20, 2023
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
aaa47cc
Rename TypeInfo.ID() to TypeInfo.Identifier()
fxamacker f56c2e7
Change array encoding error type
fxamacker c7ae147
Change map encoding error type
fxamacker 945826b
Add InlinedExtraData interface
fxamacker 2e86400
Add ContainerStorable interface
fxamacker 2d5e4a4
Rename Encode to EncodeSlab
fxamacker 485b800
Encode inlined map as map key
fxamacker 5eb10f1
Add test verification for compact map serialization
fxamacker 5be1f94
Add more tests for decoded array/map
fxamacker 800a44a
Export EncodeStorableAsElement()
fxamacker eecb91a
Add ContainerStorable.HasPointer()
fxamacker eb9a503
Fix lint warning
fxamacker c8f01db
Test inlined array/map not stored in storage
fxamacker 25c4d5e
Add more comments
fxamacker 3688e89
Export InlinedExtraData struct to replace interface
fxamacker 87e6b6b
Optimize compact map field names concatenation
fxamacker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are inlined arrays verified somewhere else? If this skips verification of them in general, maybe it would be good to add that too, just to be safe (maybe just in a follow-up PR, not a blocker)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, inlined arrays and maps are verified when their parent is verified. The serialization verification is done at slab level so round-trip serialization is tested, as well as elements in the slabs.