-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid unnecessary pointer dereferencing #Before ``` Benchmark_ToString-24 3499046 339.2 ns/op 96 B/op 6 allocs/op Benchmark_ToString-24 3552510 336.8 ns/op 96 B/op 6 allocs/op Benchmark_ToString-24 3589656 335.2 ns/op 96 B/op 6 allocs/op Benchmark_ToString-24 3564043 337.8 ns/op 96 B/op 6 allocs/op ``` #After ``` Benchmark_ToString-24 4211290 285.7 ns/op 96 B/op 6 allocs/op Benchmark_ToString-24 4296464 282.5 ns/op 96 B/op 6 allocs/op Benchmark_ToString-24 4279908 283.5 ns/op 96 B/op 6 allocs/op Benchmark_ToString-24 4216419 283.5 ns/op 96 B/op 6 allocs/op ```
- Loading branch information
Showing
2 changed files
with
75 additions
and
10 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