Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime: use zeroVal for small zero values in interfaces
Fixes golang#17725 name old time/op new time/op delta ConvT2EInt/const-8 0.90ns ± 4% 0.90ns ± 2% ~ (p=0.623 n=20+15) ConvT2EInt/zero-8 21.5ns ± 2% 7.4ns ± 6% -65.33% (p=0.000 n=19+18) ConvT2EInt/one-8 21.6ns ± 2% 22.8ns ± 2% +5.21% (p=0.000 n=20+19) name old alloc/op new alloc/op delta ConvT2EInt/const-8 0.00B 0.00B ~ (all equal) ConvT2EInt/zero-8 8.00B ± 0% 0.00B -100.00% (p=0.000 n=20+20) ConvT2EInt/one-8 8.00B ± 0% 8.00B ± 0% ~ (all equal) name old allocs/op new allocs/op delta ConvT2EInt/const-8 0.00 0.00 ~ (all equal) ConvT2EInt/zero-8 1.00 ± 0% 0.00 -100.00% (p=0.000 n=20+20) ConvT2EInt/one-8 1.00 ± 0% 1.00 ± 0% ~ (all equal) Change-Id: I5b71f9e44e3de8b8f2284a3821c5176c13ab2c61
- Loading branch information