-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* address: adding cache address.String() cache benchmark * address: use LRU cache for .String() * optimize address.Empty * move cache initialization to init function * Use UnsafeBytesToStr convertion with Addr cache * add cache for other address String() methods * fix linter issue * add a non trivial address for Address.String benchmark * add comment about cache size and update cashe size to 60k * fix syntax Co-authored-by: Alessio Treglia <alessio@tendermint.com>
- Loading branch information
1 parent
30f58b5
commit 2864eb6
Showing
2 changed files
with
78 additions
and
60 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
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