-
Notifications
You must be signed in to change notification settings - Fork 266
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
feat: refactor subtask 2 #626
Conversation
@@ -6,29 +6,29 @@ import ( | |||
ibytes "github.com/cosmos/iavl/internal/bytes" | |||
) | |||
|
|||
// Node[T] represents a node eligible for caching. | |||
type Node[T any] interface { |
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.
what's the reason for this revert?
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.
Previously, the global nonce
is used as a nodekey, so we didn't need to convert. But now we are using version + nonce
, I think we don't need template type here.
benchmark result compare new version (
|
No description provided.