1
0
mirror of https://github.com/golang/go synced 2024-10-05 09:21:22 -06:00
go/src
Alberto Donizetti a9581e2e7a unicode/utf16: speed up and clean up Encode and EncodeRune
name                        old time/op  new time/op  delta
EncodeValidASCII-4          74.1ns ± 1%  70.1ns ± 1%   -5.46%  (p=0.000 n=10+10)
EncodeValidJapaneseChars-4  61.3ns ± 0%  58.9ns ± 0%   -3.82%  (p=0.000 n=10+10)
EncodeRune-4                13.1ns ± 1%   9.8ns ± 0%  -25.24%   (p=0.000 n=10+9)

Fixes #6957

Change-Id: I9dde6d77420c34c6e2ef3e6213bb6be9b58a3074
Reviewed-on: https://go-review.googlesource.com/19891
Reviewed-by: Rob Pike <r@golang.org>
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-02-24 21:07:03 +00:00
..
archive all: use cannot instead of can not 2016-02-21 15:35:50 +00:00
bufio all: fix typos and spelling 2016-02-24 18:42:29 +00:00
builtin
bytes bytes: make Buffer comment more accurate 2016-02-21 03:57:24 +00:00
cmd cmd/compile: reuseable cache of Prog structs 2016-02-24 18:52:28 +00:00
compress build: shorten a few packages with long tests 2015-12-29 15:46:44 +00:00
container
crypto all: fix typos and spelling 2016-02-24 18:42:29 +00:00
database/sql all: fix typos and spelling 2016-02-24 18:42:29 +00:00
debug all: fix typos and spelling 2016-02-24 18:42:29 +00:00
encoding all: fix typos and spelling 2016-02-24 18:42:29 +00:00
errors
expvar
flag
fmt fmt: fix zero padding for NaN 2016-02-21 12:04:21 +00:00
go all: fix typos and spelling 2016-02-24 18:42:29 +00:00
hash cmd/internal/obj/x86: add new instructions, cleanup. 2016-01-13 14:04:44 +00:00
html all: fix typos and spelling 2016-02-24 18:42:29 +00:00
image all: fix typos and spelling 2016-02-24 18:42:29 +00:00
index/suffixarray
internal all: fix typos and spelling 2016-02-24 18:42:29 +00:00
io
log all: use cannot instead of can not 2016-02-21 15:35:50 +00:00
math all: fix typos and spelling 2016-02-24 18:42:29 +00:00
mime all: fix typos 2016-02-23 13:58:47 +00:00
net all: fix typos and spelling 2016-02-24 18:42:29 +00:00
os os: fix tests on brillo 2016-02-24 21:05:40 +00:00
path all: fix typos and spelling 2016-02-24 18:42:29 +00:00
reflect all: fix typos and spelling 2016-02-24 18:42:29 +00:00
regexp all: fix typos and spelling 2016-02-24 18:42:29 +00:00
runtime all: fix typos and spelling 2016-02-24 18:42:29 +00:00
sort all: fix typos and spelling 2016-02-24 18:42:29 +00:00
strconv
strings
sync all: use cannot instead of can not 2016-02-21 15:35:50 +00:00
syscall all: fix typos and spelling 2016-02-24 18:42:29 +00:00
testing testing: move comment inside T.Parallel 2016-01-06 17:59:55 +00:00
text all: fix typos and spelling 2016-02-24 18:42:29 +00:00
time all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
unicode unicode/utf16: speed up and clean up Encode and EncodeRune 2016-02-24 21:07:03 +00:00
unsafe unsafe: fix typo in documentation of valid Pointer->uintptr->Pointer conversions 2016-01-29 00:41:27 +00:00
vendor net/http: update http2 to check header values, move from vendor to internal 2016-01-21 00:19:02 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash build: use consistent shebang line 2016-01-14 03:16:20 +00:00
buildall.bash build: test linux/mips64 and linux/mips64le with buildall.bash 2016-01-19 04:43:44 +00:00
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash cmd/go, go/build: add support for Fortran 2016-02-24 15:06:38 +00:00
make.bat cmd/go, go/build: add support for Fortran 2016-02-24 15:06:38 +00:00
Make.dist
make.rc
nacltest.bash
race.bash cmd/dist: make test default to --no-rebuild 2015-12-29 15:20:00 +00:00
race.bat cmd/dist: make test default to --no-rebuild 2015-12-29 15:20:00 +00:00
run.bash cmd/dist: make test default to --no-rebuild 2015-12-29 15:20:00 +00:00
run.bat cmd/dist: make test default to --no-rebuild 2015-12-29 15:20:00 +00:00
run.rc cmd/dist: make test default to --no-rebuild 2015-12-29 15:20:00 +00:00