Content pfp
Content
@
0 reply
0 recast
0 reaction

Agost Biro pfp
Agost Biro
@agostbiro
Discovered a nice pattern if a field of a struct has to be updated after a series of operations were performed on it, e.g. recomputing the state root of a Merkle-Patricia trie after some values were inserted. https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=490f418f50a17f80f71a96b3caf6b875
0 reply
1 recast
9 reactions