- 05 Sep, 2013 2 commits
-
-
Rémy Oudompheng authored
DeepEqual caches addresses of compared values each time it visits addressable values. This is more expensive than actually comparing them in the common case of large slices of bytes or integers. Also add a fast path for slices with identical underlying array. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13000044
-
Ian Lance Taylor authored
Fixes #5240. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13546044
-
- 04 Sep, 2013 9 commits
-
-
Brad Fitzpatrick authored
Also, report allocations in benchmark. R=golang-dev, r CC=golang-dev https://golang.org/cl/13410044
-
Rob Pike authored
The underlying parse tree is visible in text/template, so it should be visible here. Done by copying the underlying *parse.Tree up to the top level of the struct, and then making sure it's kept up to date. Fixes #6318. R=mikesamuel CC=golang-dev https://golang.org/cl/13479044
-
Aulus Egnatius Varialus authored
Enable cgo for dragonfly/386 and dragonfly/amd64. R=golang-dev, jsing, iant, bradfitz CC=golang-dev https://golang.org/cl/13247046
-
Ian Lance Taylor authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/13336045
-
Ian Lance Taylor authored
Fixes #6319. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13539043
-
Ian Lance Taylor authored
Also remove incorrect statement that cgo does not support gccgo. R=golang-dev, r CC=golang-dev https://golang.org/cl/13511043
-
Ian Lance Taylor authored
Fixes #5272. R=golang-dev, r CC=golang-dev https://golang.org/cl/13498046
-
Rob Pike authored
Based on an old suggestion by rsc, it compares the second and following arguments to the first. Unfortunately the code cannot be as pretty as rsc's original because it doesn't require identical types. R=golang-dev, dsymonds, adg CC=golang-dev https://golang.org/cl/13509046
-
Mikio Hara authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/13261049
-
- 03 Sep, 2013 2 commits
-
-
Adam Langley authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13335050
-
Brad Fitzpatrick authored
We were reading 1024 bytes but only using 512. Fixes #6311 R=golang-dev, iant CC=golang-dev https://golang.org/cl/13289047
-
- 02 Sep, 2013 1 commit
-
-
Mikio Hara authored
Update #3610 Update #5267 Update #5707 R=golang-dev, bradfitz, dave CC=golang-dev https://golang.org/cl/13465043
-
- 31 Aug, 2013 9 commits
-
-
Keith Randall authored
Use cnew/cnewarray instead of mallocgc. R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/13396045
-
Joel Sing authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/13328045
-
Joel Sing authored
Add runtime and syscall support for dragonfly/386. R=golang-dev, iant CC=golang-dev https://golang.org/cl/13237051
-
Joel Sing authored
Add generated z* files for dragonfly/386. R=golang-dev, iant CC=golang-dev https://golang.org/cl/13303046
-
Keith Randall authored
Remove all hashtable-specific GC code. Fixes bug 6119. R=cshapiro, dvyukov, khr CC=golang-dev https://golang.org/cl/13078044
-
Joel Sing authored
R=golang-dev, bradfitz, dave CC=golang-dev https://golang.org/cl/13225043
-
Mikio Hara authored
Also flattens import declaration. R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/13373046
-
Mikio Hara authored
This CL makes resolveInternetAddr return a list of addresses that contain a pair of different address family IP addresses if possible, but doesn't contain any API behavioral changes yet. A simple IP address selection mechanism for Resolve{TCP,UDP,IP}Addr and Dial API still prefers IPv4. This is in preparation for TCP connection setup with fast failover on dual IP stack node as described in RFC 6555. Update #3610 Update #5267 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13374043
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/13316044
-
- 30 Aug, 2013 13 commits
-
-
Brad Fitzpatrick authored
compress/flate is https://golang.org/cl/12953048 compress/zlib is https://golang.org/cl/13171046 Update #6138 R=golang-dev, iant CC=golang-dev https://golang.org/cl/13435043
-
Tad Glines authored
Update #4805 Add the ability to set an open connection limit. Fixed case where the Conn finalCloser was being called with db.mu locked. Added separate benchmarks for each path for Exec and Query. Replaced slice based idle pool with list based idle pool. R=bradfitz CC=golang-dev https://golang.org/cl/10726044
-
Adam Langley authored
This change allows people who want to parse or set odd X.509 extensions to do so without having to add support for them all to the package. I tried to make it so that only a single member: Extensions would be needed. However, that would mean detecting when the caller had altered the contents of it so that parsing and marshaling a certificate wouldn't ignore all changes to the other members. This ended up being messy, thus the current design where there are two members: one for reading and another for writing. As crypto/x509 adds support for more extensions in the future, the raw extensions will still be in Extensions for older code that expects it there. Also, future extensions will be overridden by any raw extensions added to ExtraExtensions by code that was written before support was added. R=golang-dev, r CC=golang-dev, jpsugar https://golang.org/cl/12056043
-
Dmitriy Vyukov authored
Also introduce BGET2/4, BPUT2/4 as they are widely used. Slightly improve BGETC/BPUTC implementation. This gives ~5% CPU time improvement on go install -a -p1 std. Before: real user sys 0m23.561s 0m16.625s 0m5.848s 0m23.766s 0m16.624s 0m5.846s 0m23.742s 0m16.621s 0m5.868s after: 0m22.999s 0m15.841s 0m5.889s 0m22.845s 0m15.808s 0m5.850s 0m22.889s 0m15.832s 0m5.848s R=golang-dev, r CC=golang-dev https://golang.org/cl/12745047
-
Nigel Tao authored
include the new image/color/palette package. R=r CC=golang-dev https://golang.org/cl/13314044
-
Nigel Tao authored
image/color package into their own package. They require some non- trivial init-time code (interface conversions, currently 40KiB of text) that would otherwise burden any Go program that imported image/color. R=r CC=golang-dev https://golang.org/cl/13256046
-
Rob Pike authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13324046
-
Mikio Hara authored
This CL adds a new type addrList that will carry a short list of IP addresses to dial helper functions in the upcoming CLs. This is in preparation for TCP connection setup with fast failover on dual IP stack node as described in RFC 6555. Update #3610 Update #5267 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13241046
-
Brad Fitzpatrick authored
Breaks build, and has a race. ««« original CL description database/sql: add SetMaxOpenConns Update #4805 Add the ability to set an open connection limit. Fixed case where the Conn finalCloser was being called with db.mu locked. Added seperate benchmarks for each path for Exec and Query. Replaced slice based idle pool with list based idle pool. R=bradfitz CC=golang-dev https://golang.org/cl/10726044 »»» R=golang-dev CC=golang-dev https://golang.org/cl/13252046
-
Tad Glines authored
Update #4805 Add the ability to set an open connection limit. Fixed case where the Conn finalCloser was being called with db.mu locked. Added seperate benchmarks for each path for Exec and Query. Replaced slice based idle pool with list based idle pool. R=bradfitz CC=golang-dev https://golang.org/cl/10726044
-
Brad Fitzpatrick authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/13416043
-
Emil Hessman authored
Fixes #6132. R=golang-dev, adg CC=golang-dev https://golang.org/cl/12858049
-
Mikio Hara authored
This CL adds the netaddr interface that will carry a single network endpoint address or a short list of IP addresses to dial helper functions in the upcoming CLs. This is in preparation for TCP connection setup with fast failover on dual IP stack node as described in RFC 6555. Update #3610 Update #5267 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13368044
-
- 29 Aug, 2013 4 commits
-
-
Brad Fitzpatrick authored
Use either LWP::UserAgent or curl to make HTTP requests so it works on Windows (most Perl distros include LWP::UserAgent), and also on OS X (whose Perl at least sometimes doesn't include LWP::UserAgent). Fixes #6273 R=golang-dev, alex.brainman, cldorian CC=golang-dev https://golang.org/cl/13330044
-
Keith Randall authored
This replaces the mcall frame with the badmcall frame instead of leaving the mcall frame on the stack and adding the badmcall frame. Because mcall is no longer on the stack, traceback will now report what called mcall, which is what we would like to see in this situation. R=golang-dev, cshapiro CC=golang-dev https://golang.org/cl/13012044
-
Brad Fitzpatrick authored
Minor. Saw this in a profile at few percent of CPU and was curious what it was. Improves overall regexp benchmarks anywhere from 0 to 3%, but they're a pain to run. You need to run them in isolation for long runs to get stable numbers. benchmark old ns/op new ns/op delta BenchmarkEmptyOpContext 537 473 -11.92% R=golang-dev, crawshaw CC=golang-dev https://golang.org/cl/13407043
-
Adam Langley authored
AES-GCM is the only current TLS ciphersuite that doesn't have cryptographic weaknesses (RC4), nor major construction issues (CBC mode ciphers) and has some deployment (i.e. not-CCM). R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13249044
-