- 17 Mar, 2011 14 commits
-
-
Robert Griesemer authored
The scanner returns slices into the original source for token values. If those slices are making it into the AST and from there into other long-living data structures (e.g. godoc search), references to the original source are kept around involuntarily. For the current godoc and source tree, this change reduces memory consumption after indexing and before GC by ~92MB or almost 30%, and by ~10MB after GC (or about 6%). R=rsc CC=golang-dev https://golang.org/cl/4273072
-
Rob Pike authored
Fixes #1615. R=dsymonds CC=golang-dev https://golang.org/cl/4277058
-
Ian Lance Taylor authored
In conjunction with the non-blocking system call CL, this gives about an 8% performance improvement on a client/server test running on my local machine. R=rsc, iant2 CC=golang-dev https://golang.org/cl/4272057
-
Alex Brainman authored
Fixes #1614. R=gri CC=golang-dev https://golang.org/cl/4290054
-
Caine Tighe authored
R=rsc CC=golang-dev https://golang.org/cl/3559041
-
Rob Pike authored
- just an oversight; we were reallocating a buffer. - use unsafe to avoid allocating storage for a string twice. R=rsc CC=golang-dev https://golang.org/cl/4290056
-
Russ Cox authored
R=dsymonds CC=golang-dev https://golang.org/cl/4291052
-
Evan Shaw authored
R=golang-dev, niemeyer, rsc1, rog, rsc CC=golang-dev https://golang.org/cl/4285047
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/4248066
-
Andrew Gerrand authored
R=rsc, niemeyer, r2, rog, iant2, r CC=golang-dev https://golang.org/cl/4235060
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/4272058
-
Ian Lance Taylor authored
Permit system calls to be designated as non-blocking, meaning that we simply call them without involving the scheduler. This change by itself is mostly performance neutral. In combination with a following change to the net package there is a performance advantage. R=rsc, dfc, r2, iant2, rsc1 CC=golang-dev https://golang.org/cl/4278055
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4278056
-
Rob Pike authored
- use enc.err and dec.err instead of return values in deferred error catcher - replace io.WriteString with buffer.WriteString now at: mallocs per encode of type Bench: 7 mallocs per decode of type Bench: 8 R=rsc CC=golang-dev https://golang.org/cl/4277057
-
- 16 Mar, 2011 20 commits
-
-
Yasuhiro Matsumoto authored
R=brainman, rsc, rsc1 CC=golang-dev https://golang.org/cl/4249064
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/4271048
-
Andrew Gerrand authored
gobuilder: recognize CLs of the form weekly.DATE R=rsc, r CC=golang-dev https://golang.org/cl/4282052
-
Brad Fitzpatrick authored
This just returns a ClientConn suitable for writing proxy requests. To be used in Transport. R=rsc, petar-m CC=golang-dev https://golang.org/cl/4290052
-
Robert Griesemer authored
(per rsc's suggestion) R=rsc CC=golang-dev https://golang.org/cl/4276057
-
Alex Brainman authored
R=gri CC=golang-dev https://golang.org/cl/4280048
-
Rob Pike authored
The -test.run and -test.bench flags were compilng the regexp for ever test function, which was mucking up memory profiles. Add a simple wrapper to save the compiled state so that the regexp is compiled only once for each flag. R=rsc CC=golang-dev https://golang.org/cl/4274063
-
Rob Pike authored
Dependency on bufio crept in during last CL; this breaks the cycle. Also add a missing '-' to the documentation. R=rsc CC=golang-dev https://golang.org/cl/4274061
-
Rob Pike authored
These allow a test to generate memory profiles automatically. R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4273064
-
Adam Langley authored
R=bradfitzgo, nsz CC=golang-dev https://golang.org/cl/4280041
-
Adam Langley authored
There is some disagreement about how to deal with hash values larger than the curve order size. We choose to follow OpenSSL's lead here. R=bradfitzgo, r CC=golang-dev https://golang.org/cl/4273059
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/4281052
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/4289048
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/4272052
-
Rob Pike authored
Avoids 3 mallocs in a round trip encoding/decoding a struct. R=rsc, rsc1 CC=golang-dev https://golang.org/cl/4278052
-
Alex Brainman authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4290049
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/4275054
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/4274059
-
Robert Griesemer authored
If braces don't have position information for a composite literal, don't assume alignment of key:value pairs under the (wrong) assumption that there may be multiple lines. R=rsc CC=golang-dev https://golang.org/cl/4297043
-
Rob Pike authored
Add malloc counts for encode and decode. R=rsc CC=golang-dev https://golang.org/cl/4290048
-
- 15 Mar, 2011 6 commits
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4273060
-
Rob Pike authored
R=rsc, dsymonds CC=golang-dev https://golang.org/cl/4290047
-
Rob Pike authored
On my mac: mallocs per rpc round trip: 144 rpc.BenchmarkEndToEnd 10000 228244 ns/op Room for improvement. R=rsc CC=golang-dev https://golang.org/cl/4274058
-
Evan Shaw authored
This makes it possible to build Windows binaries on non-Windows OSes. R=golang-dev, rsc1, rsc CC=golang-dev https://golang.org/cl/4271046
-
Roger Peppe authored
The Windows code is untested. R=rsc, gri, brainman, rsc1 CC=golang-dev https://golang.org/cl/4253052
-
Russ Cox authored
R=bradfitzgo, dsymonds, r, gri, adg CC=golang-dev https://golang.org/cl/4282044
-