-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
solves [this](#2138) Benchmarks ``` Master BenchmarkIfStatement-10 238 4967960 ns/op BenchmarkForLoop-10 649 1771728 ns/op Current branch BenchmarkIfStatement-10 366 3316189 ns/op BenchmarkForLoop-10 1143 945930 ns/op ``` By avoiding the runtime type conversion, we can see that we almost doubled the performance of these statements. --------- Co-authored-by: jaekwon <jae@tendermint.com> Co-authored-by: Jae Kwon <53785+jaekwon@users.noreply.github.com>
- Loading branch information
1 parent
0ba53ac
commit 71a298b
Showing
5 changed files
with
73 additions
and
15 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
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
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