1
0
mirror of https://github.com/golang/go synced 2024-11-20 10:54:49 -07:00
go/src
Ben Burkert e4c2229e4c encoding/pem: eliminate allocations for newlines during encoding
benchmark           old MB/s     new MB/s     speedup
BenchmarkEncode     243.20       279.89       1.15x

benchmark           old allocs     new allocs     delta
BenchmarkEncode     1370           4              -99.71%

Change-Id: I3920bcc04b6dd89efa5da89db5594d4434426d74
Reviewed-on: https://go-review.googlesource.com/1924
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2014-12-21 22:06:09 +00:00
..
archive
bufio
builtin
bytes
cmd cmd/cgo: don't #include cgo_export.h in gccgo _cgo_main.c 2014-12-20 01:42:00 +00:00
compress compress/bzip2: s/repeat_power/repeatPower/ 2014-12-19 01:29:00 +00:00
container
crypto crypto/tls: change default minimum version to TLS 1.0. 2014-12-18 19:49:41 +00:00
database/sql
debug all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
encoding encoding/pem: eliminate allocations for newlines during encoding 2014-12-21 22:06:09 +00:00
errors
expvar
flag flag: Some idiomatic fixes 2014-12-21 00:24:39 +00:00
fmt
go all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
hash all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
html
image image/draw: fix crash in clip 2014-12-20 06:00:38 +00:00
index/suffixarray
internal/syscall
io
lib9
libbio
liblink liblink: fail for too-large register offset constants 2014-12-18 22:32:18 +00:00
log
math math: Added parity check to ProbablyPrime 2014-12-12 00:25:16 +00:00
mime
net net/http: Fix Range off-by-one error 2014-12-20 23:42:44 +00:00
os os: handle the sticky bit separately for *BSD and Solaris 2014-12-17 16:07:28 +00:00
path path/filepath: remove named result parameter for VolumeName 2014-12-18 16:05:07 +00:00
reflect reflect: remove a double negative, use the rtype.pointers method for clarity 2014-12-16 21:17:07 +00:00
regexp regexp/syntax: Clarify comment of OpAnyCharNotNL. 2014-11-11 18:52:07 -08:00
runtime runtime: fix brk_ signature for plan9 2014-12-20 21:41:44 +00:00
sort sort: deduplicate inner loop of Stable 2014-12-19 18:26:26 +00:00
strconv
strings
sync all: merge dev.garbage (d1238958d4ae) into default branch 2014-12-05 20:34:45 -05:00
syscall all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
testing testing: style change: omit unnecessary new 2014-12-20 01:40:11 +00:00
text
time
unicode
unsafe
all.bash
all.bat
all.rc
androidtest.bash
clean.bash
clean.bat
clean.rc
make.bash build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
make.bat build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
Make.dist
make.rc
nacltest.bash
race.bash
race.bat
run.bash build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
run.bat build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
run.rc
sudo.bash