mirror of
https://github.com/golang/go
synced 2024-11-20 10:14:43 -07:00
The Go programming language
2db47c9083
Cached string indexing in inner loop of Btoui64. Before: strconv_test.BenchmarkAtoi 5000000 309 ns/op strconv_test.BenchmarkAtoiNeg 5000000 325 ns/op strconv_test.BenchmarkAtoi64 5000000 465 ns/op strconv_test.BenchmarkAtoi64Neg 5000000 469 ns/op After: strconv_test.BenchmarkAtoi 10000000 182 ns/op strconv_test.BenchmarkAtoiNeg 10000000 193 ns/op strconv_test.BenchmarkAtoi64 10000000 251 ns/op strconv_test.BenchmarkAtoi64Neg 10000000 258 ns/op R=golang-dev, gri CC=golang-dev https://golang.org/cl/1227042 |
||
---|---|---|
doc | ||
include | ||
lib | ||
misc | ||
pkg | ||
src | ||
test | ||
.hgignore | ||
.hgtags | ||
AUTHORS | ||
CONTRIBUTORS | ||
favicon.ico | ||
LICENSE | ||
README |
This is the source code repository for the Go programming language. For documentation about how to install and use Go, visit http://golang.org/ or load doc/install.html in your web browser. After installing Go, you can view a nicely formatted doc/install.html by running godoc --http=:6060 and then visiting http://localhost:6060/doc/install.html. Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.