- 15 Mar, 2011 13 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
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4287047
-
Russ Cox authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/4274052
-
Russ Cox authored
Swapping the goroutines lets them reuse the communication completion on v instead of needing a second channel (done). R=gri CC=golang-dev https://golang.org/cl/4287045
-
Russ Cox authored
Also change labelled examples to use gofmt formatting. R=gri, r, jnml CC=golang-dev https://golang.org/cl/4287046
-
Brad Fitzpatrick authored
This matches the real ResponseWriter behavior. R=rsc CC=golang-dev https://golang.org/cl/4291048
-
Brad Fitzpatrick authored
R=agl, agl1 CC=golang-dev https://golang.org/cl/4297041
-
Rob Pike authored
This reduces the number of writes by 2 (1 client, 1 server) on each round trip. A simple test shows 24% higher throughput. R=rsc CC=golang-dev https://golang.org/cl/4279057
-
- 14 Mar, 2011 4 commits
-
-
Dave Cheney authored
R=golang-dev, r, dsymonds, rsc1 CC=golang-dev https://golang.org/cl/4277046
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4279053
-
Russ Cox authored
This change records more metadata about what influenced the creation of the object file. Specifically, if a package imports, say, "fmt" but does not need to describe any fmt types in its own export data, that package's object file did not mention the dependency on "fmt" before. Now it does. Listing the import is purely informational. It has no effect on which files are opened or consulted when importing a package. Import lines are marked indirect when they are needed to explain the API but were not imported directly. For example http imports crypto/tls and exports a struct with a field of type tls.ConnectionState, which contains an x509.Certificate. Since http does not import x509 but needs to explain the x509.Certificate type in its export data, the import of x509 is marked as indirect. These import lines were always present; marking them with the indirect comment makes clear which were imported directly and which are incidental. R=ken2 CC=golang-dev https://golang.org/cl/4295048
-
Robert Hencke authored
R=golang-dev, dfc, rsc1, rsc CC=golang-dev https://golang.org/cl/4274048
-
- 13 Mar, 2011 2 commits
-
-
Dave Cheney authored
Fixes #1555. R=rsc, bradfitzgo CC=golang-dev https://golang.org/cl/4284047
-
Brad Fitzpatrick authored
R=rsc, dsymonds CC=golang-dev https://golang.org/cl/4278044
-
- 12 Mar, 2011 6 commits
-
-
Brad Fitzpatrick authored
Also don't serialize empty headers. R=dsymonds, rsc CC=golang-dev https://golang.org/cl/4275045
-
Rob Pike authored
R=iant, dho CC=golang-dev https://golang.org/cl/4286044
-
Ian Lance Taylor authored
R=rsc CC=golang-dev https://golang.org/cl/4275043
-
Ian Lance Taylor authored
The loop always makes an extra system call. It only makes a difference if more than 100 goroutines started waiting for something to happen on a network file descriptor since the last time the pipe was drained, which is unlikely since we will be woken up the first time a goroutine starts waiting. If we don't drain the pipe this time, we'll be woken up again right away and can drain again. R=rsc CC=golang-dev https://golang.org/cl/4275042
-
Rob Pike authored
Add a benchmark. BenchmarkEndToEndPipe gives 14.3microseconds/op before, 13.1microseconds/op after, or about 76e3 round trips per second through the kernel. With a bytes buffer, and therefore no system calls for I/O, the numbers go to 7.3microseconds/op, or about 137e3 round trips per second. R=rsc CC=golang-dev https://golang.org/cl/4279045
-
Robert Griesemer authored
- removed uses of global variables - minor cleanups R=r CC=golang-dev https://golang.org/cl/4277044
-
- 11 Mar, 2011 14 commits
-
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/4278043
-
Robert Griesemer authored
R=r, rsc1 CC=golang-dev https://golang.org/cl/4291042
-
Russ Cox authored
R=golang-dev, iant, r CC=golang-dev https://golang.org/cl/4239079
-
Russ Cox authored
R=r, dsymonds CC=golang-dev https://golang.org/cl/4273045
-
Russ Cox authored
R=golang-dev, rog, bradfitzwork, r CC=golang-dev https://golang.org/cl/4243072
-
Russ Cox authored
R=ken2, ken3 CC=golang-dev https://golang.org/cl/4259064
-
Russ Cox authored
R=gri, r, r2 CC=golang-dev https://golang.org/cl/4249065
-
Brad Fitzpatrick authored
Transport.Do -> RoundTripper.RoundTrip This makes way for a subsequent CL to export the currently private RoundTripper implementation as struct Transport. R=rsc, r CC=golang-dev https://golang.org/cl/4286043
-
Robert Griesemer authored
First version. Handles scope analysis only at the moment. R=rsc, r, eds CC=golang-dev https://golang.org/cl/4259065
-
Brad Fitzpatrick authored
Fixes #1602 R=rsc, petar-m CC=golang-dev https://golang.org/cl/4284043
-
Russ Cox authored
This makes it possible to build a package twice and get the same bytes both times. R=r, dsymonds, r2 CC=golang-dev https://golang.org/cl/4248077
-
Andrew Gerrand authored
.hgtags, release.html: tag current weekly as release.r56 R=r, rsc CC=golang-dev https://golang.org/cl/4281041
-
Robert Griesemer authored
Make ReadAll use the same mechanism as ReadFile. R=r CC=golang-dev https://golang.org/cl/4279041
-
Robert Griesemer authored
Print a newline after each map entry; similar to the style used for slices and structs. R=r, r2 CC=golang-dev https://golang.org/cl/4274042
-
- 10 Mar, 2011 1 commit
-
-
Robert Griesemer authored
Also removed a TODO (AST nodes have been restructured a while ago). R=r CC=golang-dev https://golang.org/cl/4245077
-