-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
solana-ibc: refactor TrieKey construction
Rather than having TrieKey as an enum which is then converted to a vector, change it so that it holds the vector directly and upon creation the key is generated. This simplifies the usage and avoids intermediate String allocations. Also change a little how keys are constructed. Rather than using a separator in the generated paths, prefix variable-length values (namely strings) with their length.
- Loading branch information
Showing
2 changed files
with
208 additions
and
234 deletions.
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
Oops, something went wrong.