go/src/strconv
yangwenmai 7af821a661 all: faster midpoint computation in binary search
On my machine (3.1 GHz Quad-Core Intel Core i7, macOS 10.15.7 10.15.7), go 1.15.6

benchstat:
name          old time/op  new time/op  delta
SearchInts-8  20.3ns ± 1%  16.6ns ± 6%  -18.37%  (p=0.000 n=9+10)

Change-Id: I346e5955fd6df6ce10254b22267dbc8d5a2b16c0
Reviewed-on: https://go-review.googlesource.com/c/go/+/279439
Reviewed-by: Ben Shi <powerman1st@163.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
Trust: Robert Griesemer <gri@golang.org>
2021-02-23 01:37:31 +00:00
..
testdata
atob.go
atob_test.go
atoc.go strconv: revert ParseFloat/ParseComplex error on incorrect bitSize 2020-11-03 23:05:51 +00:00
atoc_test.go strconv: revert ParseFloat/ParseComplex error on incorrect bitSize 2020-11-03 23:05:51 +00:00
atof.go strconv: revert ParseFloat/ParseComplex error on incorrect bitSize 2020-11-03 23:05:51 +00:00
atof_test.go strconv: revert ParseFloat/ParseComplex error on incorrect bitSize 2020-11-03 23:05:51 +00:00
atoi.go
atoi_test.go
bytealg.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
bytealg_bootstrap.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ctoa.go
ctoa_test.go strconv: fix incorrect bit size in ParseComplex; add tests 2020-10-30 00:13:25 +00:00
decimal.go
decimal_test.go
doc.go
eisel_lemire.go [dev.regabi] strconv: add to bootstrap packages 2020-11-24 19:42:42 +00:00
example_test.go
export_test.go
extfloat.go strconv: remove extfloat.go atof code path 2020-10-29 03:06:12 +00:00
fp_test.go
ftoa.go
ftoa_test.go strconv: fix incorrect bit size in ParseComplex; add tests 2020-10-30 00:13:25 +00:00
internal_test.go
isprint.go
itoa.go
itoa_test.go
makeisprint.go all: faster midpoint computation in binary search 2021-02-23 01:37:31 +00:00
quote.go all: faster midpoint computation in binary search 2021-02-23 01:37:31 +00:00
quote_test.go
strconv_test.go