- 15 May, 2013 11 commits
-
-
Adam Langley authored
This patch resulted from a bit of quick optimisation in response to a golang-nuts post. It looks like one could save a couple other copies in this function, but this addresses the inner loop and is fairly simple. benchmark old ns/op new ns/op delta BenchmarkGCD10x10 1964 1711 -12.88% BenchmarkGCD10x100 2019 1736 -14.02% BenchmarkGCD10x1000 2471 2171 -12.14% BenchmarkGCD10x10000 6040 5778 -4.34% BenchmarkGCD10x100000 43204 43025 -0.41% BenchmarkGCD100x100 11004 8520 -22.57% BenchmarkGCD100x1000 11820 9446 -20.08% BenchmarkGCD100x10000 23846 21382 -10.33% BenchmarkGCD100x100000 133691 131505 -1.64% BenchmarkGCD1000x1000 120041 95591 -20.37% BenchmarkGCD1000x10000 136887 113600 -17.01% BenchmarkGCD1000x100000 295370 273912 -7.26% BenchmarkGCD10000x10000 2556126 2205198 -13.73% BenchmarkGCD10000x100000 3159512 2808038 -11.12% BenchmarkGCD100000x100000 150543094 139986045 -7.01% R=gri, remyoudompheng CC=bradfitz, gobot, golang-dev, gri https://golang.org/cl/9424043
-
Dmitriy Vyukov authored
This is needed for preemptive scheduler, it will preempt only when m->locks==0, and we do not want to be preempted while we have not completely unlocked the lock. R=golang-dev, khr, iant CC=golang-dev https://golang.org/cl/9196047
-
Dmitriy Vyukov authored
Compiler can detect and delete dead code with enums, but can not with static vars. R=golang-dev, dave, r CC=golang-dev https://golang.org/cl/9377043
-
Dmitriy Vyukov authored
Also change table type from int32[] to int8[] to save space in L1$. benchmark old ns/op new ns/op delta BenchmarkMalloc 42 40 -4.68% R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/9199044
-
Alex Brainman authored
Fixes windows build. R=golang-dev CC=golang-dev https://golang.org/cl/9429043
-
Shenghou Ma authored
Test for CL 9226043. R=golang-dev, dave, iant, bradfitz CC=golang-dev https://golang.org/cl/9249043
-
Brad Fitzpatrick authored
Fixes #5451 R=gri CC=dsymonds, gobot, golang-dev https://golang.org/cl/9388043
-
Shenghou Ma authored
Fixes #5447. R=golang-dev, r CC=golang-dev https://golang.org/cl/9343045
-
Alexey Borzenkov authored
Trying to lookup user's display name with directory services can take several seconds when user's computer is not in a domain. As a workaround, check if computer is joined in a domain first, and don't use directory services if it is not. Additionally, don't leak tokens in user.Current(). Fixes #5298. R=golang-dev, bradfitz, alex.brainman, lucio.dere CC=golang-dev https://golang.org/cl/8541047
-
Dominik Honnef authored
This fixes fontification, navigation and indentation for methods of the form `func (Foo) Bar...` R=adonovan CC=gobot, golang-dev https://golang.org/cl/8951043
-
Jonathan Hseu authored
testing/quick: fix for aliased types, delete duplicate uint8 test, and fix randFloat64() to give random numbers from (-math.MaxFloat64, math.MaxFloat64). R=r, agl CC=agl, bradfitz, golang-dev https://golang.org/cl/9296046
-
- 14 May, 2013 15 commits
-
-
Carl Shapiro authored
Update #5134 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/9406046
-
Brad Fitzpatrick authored
Reduces garbage. R=adg, r CC=dsymonds, gobot, golang-dev https://golang.org/cl/9088045
-
Rémy Oudompheng authored
Fixes #5424. R=golang-dev, daniel.morsing, dvyukov, r CC=golang-dev https://golang.org/cl/9033048
-
Keith Randall authored
Uses SSE instructions to process 16 bytes at a time. fixes #5354 R=bradfitz, google CC=golang-dev https://golang.org/cl/8853048
-
Brad Fitzpatrick authored
The *Encoder is almost always garbage. It doesn't need an encodeState inside of it (and its bytes.Buffer), since it's only needed locally inside of Encode. benchmark old ns/op new ns/op delta BenchmarkEncoderEncode 2562 2553 -0.35% benchmark old bytes new bytes delta BenchmarkEncoderEncode 283 102 -63.96% R=r CC=gobot, golang-dev https://golang.org/cl/9365044
-
Rob Pike authored
Need to use (or stub) exact.Value. R=gri CC=golang-dev https://golang.org/cl/9126043
-
Alberto García Hierro authored
The encoded string must include the : separating the username and the password, even when the latter is empty. See http://www.ietf.org/rfc/rfc2617.txt for more information. R=golang-dev, bradfitz, adg CC=golang-dev https://golang.org/cl/8475043
-
Brad Fitzpatrick authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/9419045
-
Shenghou Ma authored
Fixes #5290. R=golang-dev, dave, bradfitz, r CC=golang-dev https://golang.org/cl/8763044
-
Robin Eklind authored
R=golang-dev, iant, bradfitz, nigeltao CC=golang-dev https://golang.org/cl/9408044
-
Shenghou Ma authored
for this program: package A import testing old diagnostics: pkg.go:2: syntax error: unexpected semicolon or newline, expecting string literal now: pkg.go:2: syntax error: missing import path; require quoted string Fixes #5332. R=golang-dev, r CC=golang-dev https://golang.org/cl/9393043
-
Shenghou Ma authored
Fixes #5456. R=golang-dev, r CC=golang-dev https://golang.org/cl/9400044
-
Bill Thiede authored
cmp(1) on FreeBSD requires two file arguments. grep -P on Linux (at least Ubuntu 12.04) is described in the man page as "This is highly experimental" and doesn't seem to work. On FreeBSD the man page states "This option is not supported in FreeBSD." Needed this to work while debugging some funky behavior of 'Import' in my local vim setup. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7675043
-
Brad Fitzpatrick authored
It's just noise. They've already been acknowledged in except.txt. R=golang-dev, r CC=golang-dev https://golang.org/cl/9392047
-
Brad Fitzpatrick authored
Negative base now means "automatic". Fixes a higher level race. Fixes #5418 R=gri CC=golang-dev https://golang.org/cl/9269043
-
- 13 May, 2013 3 commits
-
-
Andrew Gerrand authored
-
Dmitriy Vyukov authored
Move the documentation from race.go to doc.go, because race.go uses +build race, so it's not normally parsed by go doc. Rephrase the documentation for end users, provide link to race detector manual. Fixes #5444. R=golang-dev, minux.ma, adg, r CC=golang-dev https://golang.org/cl/9144050
-
Nigel Tao authored
R=adg, r CC=golang-dev https://golang.org/cl/9344044
-
- 08 May, 2013 6 commits
-
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/9124045
-
Ian Lance Taylor authored
runtime.park() can access freed select descriptor due to a racing free in another thread. See the comment for details. Slightly modified version of dvyukov's CL 9259045. No test yet. Before this CL, the test described in issue 5422 would fail about every 40 times for me. With this CL, I ran the test 5900 times with no failures. Fixes #5422. R=golang-dev, r CC=golang-dev https://golang.org/cl/9311043
-
Robert Griesemer authored
Fixes #5430. R=golang-dev, r CC=golang-dev https://golang.org/cl/9305043
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/9288045
-
Ian Lance Taylor authored
This works around a bug in GCC 4.8.0. Fixes #5118. R=golang-dev, r, minux.ma CC=golang-dev https://golang.org/cl/9120045
-
Alex Brainman authored
Fixes #5349. R=golang-dev, lucio.dere, dsymonds, bradfitz, iant, adg, dave, r CC=golang-dev https://golang.org/cl/9159043
-
- 07 May, 2013 3 commits
-
-
Rob Pike authored
Fixes #5421. R=golang-dev, bradfitz, adg CC=golang-dev https://golang.org/cl/9274043
-
Andrew Gerrand authored
-
Brad Fitzpatrick authored
R=golang-dev, adg, r CC=golang-dev https://golang.org/cl/9250043
-
- 06 May, 2013 2 commits
-
-
Dmitriy Vyukov authored
The linker can generate split stack prolog when a textflag 7 function makes an indirect function call. If it happens, badsignal() crashes trying to dereference g. Fixes #5337. R=bradfitz, dave, adg, iant, r, minux.ma CC=adonovan, golang-dev https://golang.org/cl/9226043
-
Shenghou Ma authored
Update #5236 Update #5402 This CL reduces gofmt's committed memory from 545864 KiB to 139568 KiB. Note: Go 1.0.3 uses about 70MiB. R=golang-dev, r, iant, nightlyone CC=golang-dev https://golang.org/cl/9245043
-