- 19 Dec, 2013 5 commits
-
-
Keith Randall authored
On the plus side, we don't need to change the bits when mallocing pointerless objects. On the other hand, we need to mark objects in the free lists during GC. But the free lists are small at GC time, so it should be a net win. benchmark old ns/op new ns/op delta BenchmarkMalloc8 40 33 -17.65% BenchmarkMalloc16 45 38 -15.72% BenchmarkMallocTypeInfo8 58 59 +0.85% BenchmarkMallocTypeInfo16 63 64 +1.10% R=golang-dev, rsc, dvyukov CC=cshapiro, golang-dev https://golang.org/cl/41040043
-
Mikio Hara authored
Also removes an unused variable. Fixes #6795. R=adg, dave, bradfitz, gobot CC=golang-dev https://golang.org/cl/29440043
-
Brad Fitzpatrick authored
For machines, not threads. Update #4720 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/44150043
-
Russ Cox authored
Overloading size leads to problems if clients try to set up an LSym by hand. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/44140043
-
Russ Cox authored
R=r, bradfitz CC=golang-dev https://golang.org/cl/43480049
-
- 18 Dec, 2013 35 commits
-
-
David du Colombier authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/43480050
-
Brad Fitzpatrick authored
Update #4720 R=golang-dev, iant CC=golang-dev https://golang.org/cl/44080043
-
Brad Fitzpatrick authored
Benchmark is within the noise. I had to run this a dozen times each before & after (on wall power, without a browser running) before I could get halfway consistent numbers, and even then they jumped all over the place, with the new one sometimes being better. But these are the best of a dozen each. Slowdown is expected anyway, since I imagine channels are optimized more. benchmark old ns/op new ns/op delta BenchmarkCodeEncoder 26556987 27291072 +2.76% BenchmarkEncoderEncode 1069 1071 +0.19% benchmark old MB/s new MB/s speedup BenchmarkCodeEncoder 73.07 71.10 0.97x benchmark old allocs new allocs delta BenchmarkEncoderEncode 2 2 0.00% benchmark old bytes new bytes delta BenchmarkEncoderEncode 221 221 0.00% Update #4720 R=golang-dev, iant CC=golang-dev https://golang.org/cl/37720047
-
Dave Cheney authored
Address several warnings generated by clang -fsanitize=undefined R=golang-dev, iant CC=golang-dev https://golang.org/cl/43050043
-
Shenghou Ma authored
Fixes #6576. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/14502065
-
Mikio Hara authored
Update #4078 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/14638043
-
Jakob Borg authored
sequences. Use the same criteria for when to modify the tag type when parsing a string in a sequence as when parsing a bare string field. Fixes #6726. R=golang-dev, bradfitz, gobot, agl CC=golang-dev https://golang.org/cl/22460043
-
Jeff R. Allen authored
Float32 and Float64 are now both created by taking the ratio of two integers which are chosen to fit entirely into the precision of the desired float type. The previous code could cast a Float64 with more than 23 bits of ".99999" into a Float32 of 1.0, which is not in [0,1). Float32 went from 15 to 21 ns/op (but is now correct). Fixes #6721. R=golang-dev, iant, rsc CC=golang-dev https://golang.org/cl/22730043
-
ChaiShushan authored
R=golang-dev, adg, rsc CC=golang-dev https://golang.org/cl/36950043
-
Nigel Tao authored
Fixes #6441. R=r CC=andybons, golang-dev https://golang.org/cl/13829043
-
David du Colombier authored
warning: src/cmd/6g/reg.c:671 format mismatch d VLONG, arg 4 warning: src/cmd/gc/pgen.c:230 set and not used: oldstksize warning: src/cmd/gc/plive.c:877 format mismatch lx UVLONG, arg 2 warning: src/cmd/gc/walk.c:2878 set and not used: cbv warning: src/cmd/gc/walk.c:2885 set and not used: hbv warning: src/cmd/ld/data.c:198 format mismatch s IND FUNC(IND CHAR) INT, arg 2 warning: src/cmd/ld/data.c:230 format mismatch s IND FUNC(IND CHAR) INT, arg 2 warning: src/cmd/ld/dwarf.c:1517 set and not used: pc warning: src/cmd/ld/elf.c:1507 format mismatch d VLONG, arg 2 warning: src/cmd/ld/ldmacho.c:509 set and not used: dsymtab R=golang-dev, gobot, rsc CC=golang-dev https://golang.org/cl/36740045
-
David du Colombier authored
warning: src/libmach/sym.c:1861 non-interruptable temporary warning: src/cmd/8l/../ld/pcln.c:29 set and not used: p R=golang-dev, gobot, rsc CC=golang-dev https://golang.org/cl/40500043
-
David du Colombier authored
warning: src/liblink/asm5.c:485 non-interruptable temporary warning: src/liblink/asm5.c:565 set and not used: c warning: src/liblink/asm5.c:622 format mismatch ux VLONG, arg 2 warning: src/liblink/asm5.c:1218 overspecified class: asmout GLOBL STATIC warning: src/liblink/asm5.c:2088 overspecified class: oprrr GLOBL STATIC warning: src/liblink/asm5.c:2202 overspecified class: opbra GLOBL STATIC warning: src/liblink/asm5.c:2237 overspecified class: olr GLOBL STATIC warning: src/liblink/asm5.c:2266 overspecified class: olhr GLOBL STATIC warning: src/liblink/asm5.c:2291 overspecified class: osr GLOBL STATIC warning: src/liblink/asm5.c:2302 overspecified class: oshr GLOBL STATIC warning: src/liblink/asm5.c:2312 overspecified class: osrr GLOBL STATIC warning: src/liblink/asm5.c:2319 overspecified class: oshrr GLOBL STATIC warning: src/liblink/asm5.c:2325 overspecified class: olrr GLOBL STATIC warning: src/liblink/asm5.c:2332 overspecified class: olhrr GLOBL STATIC warning: src/liblink/asm5.c:2338 overspecified class: ofsr GLOBL STATIC warning: src/liblink/asm5.c:2375 overspecified class: omvl GLOBL STATIC warning: src/liblink/asm8.c:1261 format mismatch d VLONG, arg 3 warning: src/liblink/asm8.c:1274 format mismatch +d VLONG, arg 5 warning: src/liblink/list5.c:153 format mismatch d VLONG, arg 3 warning: src/liblink/list5.c:310 format mismatch d VLONG, arg 3 warning: src/liblink/obj6.c:665 set and not used: q warning: src/liblink/pcln.c:32 set and not used: p R=golang-dev, jas, gobot, rsc CC=golang-dev https://golang.org/cl/40370043
-
Brad Fitzpatrick authored
Update #4720 R=golang-dev, iant CC=golang-dev https://golang.org/cl/43990043
-
Brad Fitzpatrick authored
Adds the Pool type and docs, and use it in fmt. This is a temporary implementation, until Dmitry makes it fast. Uses the API proposal from Russ in http://goo.gl/cCKeb2 but adds an optional New field, as used in fmt and elsewhere. Almost all callers want that. Update #4720 R=golang-dev, rsc, cshapiro, iant, r, dvyukov, khr CC=golang-dev https://golang.org/cl/41860043
-
Brad Fitzpatrick authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/43490048
-
Ian Lance Taylor authored
This restores the old behaviour, and makes it possible to continue to use 6g and 6l directly, rather than the go tool, with dot imports. R=rsc CC=golang-dev https://golang.org/cl/43710043
-
Russ Cox authored
I forgot to apply Ian's suggestions before submitting CL 40600043. R=iant CC=golang-dev https://golang.org/cl/43560045
-
Shawn Smith authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/37720046
-
Shawn Smith authored
R=golang-dev, gobot, bradfitz CC=golang-dev https://golang.org/cl/40810044
-
Shawn Smith authored
encoding/asn1: add more test cases for BitString.At and TestUTCTime, add test for ObjectIdentifier.Equal R=golang-dev, rsc CC=golang-dev https://golang.org/cl/42740043
-
Shawn Smith authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/38220044
-
ChaiShushan authored
Since version 6.5, npp change the Function List syntax for User Defined Languages. We need use userDefinedLangName syntax in association tag in Notepad++ 6.5. Fix issue 6735. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/22770043
-
Robert Griesemer authored
R=bradfitz CC=golang-dev https://golang.org/cl/43930043
-
Shawn Smith authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/36830046
-
Anfernee Yongkun Gui authored
R=golang-dev, adg, bradfitz, mikioh.mikioh CC=golang-dev https://golang.org/cl/21580043
-
Adam Langley authored
Previously the hash used when signing an X.509 certificate was fixed and, for RSA, it was fixed to SHA1. Since Microsoft have announced the deprecation of SHA1 in X.509 certificates, this change switches the default to SHA256. It also allows the hash function to be controlled by the caller by setting the SignatureAlgorithm field of the template. [1] http://blogs.technet.com/b/pki/archive/2013/11/12/sha1-deprecation-policy.aspx Fixes #5302. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/40720047
-
Josh Bleecher Snyder authored
The set of certs fetched via exec'ing `security` is not quite identical to the certs fetched via the cgo call. The cgo fetch includes any trusted root certs that the user may have added; exec does not. The exec fetch includes an Apple-specific root cert; the cgo fetch does not. Other than that, they appear to be the same. Unfortunately, os/exec depends on crypto/x509, via net/http. Break the circular dependency by moving the exec tests to their own package. This will not work in iOS; we'll cross that bridge when we get to it. R=golang-dev, minux.ma, agl CC=golang-dev https://golang.org/cl/22020045
-
Brad Fitzpatrick authored
Don't make copies of keys while decoding, and don't use the expensive strings.EqualFold when it's not necessary. Instead, note in the existing field cache what algorithm to use to check fold equality... most keys are just ASCII letters. benchmark old ns/op new ns/op delta BenchmarkCodeDecoder 137074314 103974418 -24.15% benchmark old MB/s new MB/s speedup BenchmarkCodeDecoder 14.16 18.66 1.32x Update #6496 R=golang-dev, rsc, adg, r, mikioh.mikioh CC=golang-dev https://golang.org/cl/13894045
-
Brad Fitzpatrick authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/43760046
-
Andrew Gerrand authored
R=golang-dev CC=golang-dev https://golang.org/cl/43780043
-
ChaiShushan authored
Fixes #6028. R=golang-dev, bradfitz, adg, r CC=golang-dev https://golang.org/cl/43320043
-
Andrew Gerrand authored
Generated by addca. R=gobot, nikai CC=golang-dev https://golang.org/cl/43620043
-
ChaiShushan authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/14279043
-
Mikio Hara authored
Because TestDNSThreadLimit consumes tons of file descriptors and makes other tests flaky when CGO_ENABLE=0 or being with netgo tag. Fixes #6580. R=golang-dev, bradfitz, adg, minux.ma CC=golang-dev https://golang.org/cl/14639044
-