-
- Downloads
math/big: replace local versions of bitLen, nlz with math/bits versions
Verified that BenchmarkBitLen time went down from 2.25 ns/op to 0.65 ns/op an a 2.3 GHz Intel Core i7, before removing that benchmark (now covered by math/bits benchmarks). Change-Id: I3890bb7d1889e95b9a94bd68f0bdf06f1885adeb Reviewed-on: https://go-review.googlesource.com/38464 Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by:Brad Fitzpatrick <bradfitz@golang.org>
Showing
- src/math/big/arith.go 2 additions, 34 deletionssrc/math/big/arith.go
- src/math/big/arith_386.s 0 additions, 11 deletionssrc/math/big/arith_386.s
- src/math/big/arith_amd64.s 0 additions, 11 deletionssrc/math/big/arith_amd64.s
- src/math/big/arith_amd64p32.s 0 additions, 3 deletionssrc/math/big/arith_amd64p32.s
- src/math/big/arith_arm.s 0 additions, 8 deletionssrc/math/big/arith_arm.s
- src/math/big/arith_arm64.s 0 additions, 10 deletionssrc/math/big/arith_arm64.s
- src/math/big/arith_decl.go 0 additions, 1 deletionsrc/math/big/arith_decl.go
- src/math/big/arith_decl_pure.go 0 additions, 4 deletionssrc/math/big/arith_decl_pure.go
- src/math/big/arith_mips64x.s 0 additions, 3 deletionssrc/math/big/arith_mips64x.s
- src/math/big/arith_mipsx.s 0 additions, 3 deletionssrc/math/big/arith_mipsx.s
- src/math/big/arith_ppc64x.s 0 additions, 9 deletionssrc/math/big/arith_ppc64x.s
- src/math/big/arith_s390x.s 0 additions, 10 deletionssrc/math/big/arith_s390x.s
- src/math/big/arith_test.go 0 additions, 29 deletionssrc/math/big/arith_test.go
- src/math/big/float.go 3 additions, 2 deletionssrc/math/big/float.go
- src/math/big/floatconv_test.go 3 additions, 2 deletionssrc/math/big/floatconv_test.go
- src/math/big/nat.go 1 addition, 1 deletionsrc/math/big/nat.go
- src/math/big/natconv_test.go 8 additions, 0 deletionssrc/math/big/natconv_test.go
Loading
Please register or sign in to comment