-
Notifications
You must be signed in to change notification settings - Fork 237
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
Problem: memiavl snapshot format is not optimal #890
Merged
Merged
Commits on Feb 24, 2023
-
Problem: (memiavl) offset table is not used to reduce node size
Solution: - store offset table inside keys/values file, so we can reference it with leaf index in nodes. - leverage the property of post-order traversal to further reduce some offsets. - specialize `Get` operation for persisted node to improve query performance. - add native-endian implementation to improve performance. in the end, the on-disk IAVL tree query performance is on-par with tidwall/btree library which is used for cache store.
Configuration menu - View commit details
-
Copy full SHA for 9b03c6c - Browse repository at this point
Copy the full SHA 9b03c6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f5fefb - Browse repository at this point
Copy the full SHA 5f5fefbView commit details -
Apply suggestions from code review
Signed-off-by: yihuang <huang@crypto.com>
Configuration menu - View commit details
-
Copy full SHA for 4d031b6 - Browse repository at this point
Copy the full SHA 4d031b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f726af - Browse repository at this point
Copy the full SHA 3f726afView commit details
Commits on Feb 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ac063e1 - Browse repository at this point
Copy the full SHA ac063e1View commit details
Commits on Feb 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6cb9fe6 - Browse repository at this point
Copy the full SHA 6cb9fe6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 650a9c7 - Browse repository at this point
Copy the full SHA 650a9c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8ad258 - Browse repository at this point
Copy the full SHA d8ad258View commit details
Commits on Mar 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d5dcd91 - Browse repository at this point
Copy the full SHA d5dcd91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dcf56b - Browse repository at this point
Copy the full SHA 1dcf56bView commit details -
Apply suggestions from code review
Signed-off-by: yihuang <huang@crypto.com>
Configuration menu - View commit details
-
Copy full SHA for 0e4f785 - Browse repository at this point
Copy the full SHA 0e4f785View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa6a1e9 - Browse repository at this point
Copy the full SHA aa6a1e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4a10ac - Browse repository at this point
Copy the full SHA b4a10acView commit details
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.