Skip to content

Conversation

Mr-Leshiy
Copy link
Contributor

Remove implicit clone() execution inside, so in some places we can get rid of uneeded copy operations.

Copy link
Contributor

@ecioppettini ecioppettini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to have an operation in the Hamt that calls clone lazily if the entry does not exist, but that would probably too complicated to be worth it.

@Mr-Leshiy
Copy link
Contributor Author

@Enzoc4 , Will try do it but maybe in the separate PR

@Mr-Leshiy Mr-Leshiy merged commit f635809 into master Apr 7, 2022
@Mr-Leshiy Mr-Leshiy deleted the ledger-update branch April 7, 2022 07:53
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.

2 participants