- 16 Jul, 2012 3 commits
-
-
Rob Pike authored
Fixes #3822. R=golang-dev, r, dsymonds, minux.ma, adg CC=golang-dev https://golang.org/cl/6395043
-
Adam Langley authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6392065
-
Nigel Tao authored
Fixes #3815. R=r CC=golang-dev https://golang.org/cl/6352109
-
- 15 Jul, 2012 1 commit
-
-
Benny Siegert authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6399047
-
- 14 Jul, 2012 2 commits
-
-
Dmitriy Vyukov authored
Some tests currently fail with GOMAXPROCS>1 R=golang-dev CC=golang-dev https://golang.org/cl/6398044
-
Dmitriy Vyukov authored
Some class of bugs (data races, runtime bugs) can be found only with real parallelism. Note that GOMAXPROCS=32 is somewhat different from go test -cpu=32, this intentionally uses GOMAXPROCS to stress program bootstrap, testing code, garbage collections, etc. Package selection is mostly random. R=golang-dev, dave, r CC=golang-dev https://golang.org/cl/6346070
-
- 13 Jul, 2012 6 commits
-
-
Rob Pike authored
They can generate huge amounts of memory, causing failure on small machines. Also they can be very slow. So slow that one test was commented out! We uncomment it and use a flag. Fixes #3742. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6373044
-
Marcel van Lohuizen authored
- Changed the representation of colElem to support a few cases for some languages not supported by the current format. - Changed offsets for implicit primary values. This makes the values both easier to read and debug (last 4 nibbles are identical to implicit primary value) and also results in better packing. - Fixed bug in weight conversion code that did not pop up yet by sheer luck. Note that tables.go also includes changes to the contraction trie from CL 6346092. R=r, mpvl CC=golang-dev https://golang.org/cl/6392060
-
Marcel van Lohuizen authored
which has a rather large contraction table. The value of the next state offset now starts after the current block, instead of before. This is slightly less efficient (on extra addition per state change), but gives some extra range for the offsets. Also introduced constants for final (0) and noIndex (0xFF). tables.go is updated in a separate CL. R=r CC=golang-dev https://golang.org/cl/6346092
-
Rémy Oudompheng authored
Fixes #3334. R=golang-dev, r CC=golang-dev, remy https://golang.org/cl/6350103
-
Rob Pike authored
Gob decoding reads a whole message into memory and then copies it into a bytes.Buffer. For large messages this wastes an entire copy of the message. In this CL, we use a staging buffer to avoid the large temporary. Update #2539 RSS drops to 775MB from 1GB. Active memory drops to 858317048 from 1027878136, essentially the size of one copy of the input file. R=dsymonds, nigeltao CC=golang-dev https://golang.org/cl/6392057
-
Rob Pike authored
Allows a client to pre-allocate buffer space that is known to be necessary, avoiding expensive reallocations. R=gri, gri, adg CC=golang-dev https://golang.org/cl/6392061
-
- 12 Jul, 2012 7 commits
-
-
Rémy Oudompheng authored
The error was caused by a call to implements() even when the type switch variable was not an interface. Fixes #3786. R=golang-dev, r CC=golang-dev, remy https://golang.org/cl/6354102
-
Rémy Oudompheng authored
Fixes #3818. R=golang-dev, rsc, r CC=golang-dev, remy https://golang.org/cl/6352106
-
Robert Griesemer authored
benchmark old ns/op new ns/op delta BenchmarkHilbert 6253043 6267289 +0.23% BenchmarkMul 45355940 39490633 -12.93% R=r CC=golang-dev https://golang.org/cl/6355104
-
Robert Griesemer authored
Reuse temporary slice to avoid extra allocations (originally done correctly by remyoudompheng@gmail.com in https://golang.org/cl/6345075/). benchmark old ns/op new ns/op delta BenchmarkHilbert 6252790 6262304 +0.15% BenchmarkMul 45827438 45301002 -1.15% R=r CC=golang-dev https://golang.org/cl/6346097
-
Rob Pike authored
R=golang-dev, dsymonds, r, nigeltao CC=golang-dev https://golang.org/cl/6374059
-
Rémy Oudompheng authored
The previous implementation used to have a O(n) recursion depth for unbalanced inputs. A test is added to check that a reasonable amount of bytes is allocated in this case. Fixes #3807. R=golang-dev, dsymonds, gri CC=golang-dev, remy https://golang.org/cl/6345075
-
Dave Cheney authored
This is the remainder of https://golang.org/cl/4601051. Partially addresses issue 2705. R=golang-dev, r, bradfitz, minux.ma CC=golang-dev https://golang.org/cl/6354066
-
- 11 Jul, 2012 4 commits
-
-
Brad Fitzpatrick authored
Also adds a new test for GOMAXPROCS=16 explicitly, which now passes reliably in a stress loop like: $ go test -c $ (while ./http.test -test.v -test.run=Concurrency; do echo pass; done ) 2>&1 | tee foo; less foo (It used to fail very quickly and reliably on at least Linux/amd64) Fixes #3793 R=golang-dev, adg, r CC=golang-dev https://golang.org/cl/6347061
-
Rémy Oudompheng authored
R=golang-dev, dave, r CC=golang-dev, remy https://golang.org/cl/6378046
-
Adam Langley authored
OpenSSL requires that RSA signatures be exactly the same byte-length as the modulus. Currently it'll reject ~1/256 of our signatures: those that end up a byte shorter. Fixes #3796. R=golang-dev, edsrzf, r CC=golang-dev https://golang.org/cl/6352093
-
Dave Cheney authored
Fixes #3424. R=fullung, adg CC=golang-dev https://golang.org/cl/6343088
-
- 10 Jul, 2012 3 commits
-
-
Adam Langley authored
Previously, strings that didn't have an explicit ASN.1 string type were taken to be ASN.1 PrintableStrings. This resulted in an error if a unrepresentable charactor was included. For compatibility reasons, I'm too afraid to switch the default string type to UTF8String, but this patch causes untyped strings to become UTF8Strings if they contain a charactor that's not valid in a PrintableString. Fixes #3791. R=golang-dev, bradfitz, r, r CC=golang-dev https://golang.org/cl/6348074
-
Adam Langley authored
Entrust have issued a root certificate that's not marked as valid for signing certificates. This results in Go programs failing to validate certificates that chain up to this root (i.e. gateway.push.apple.com:2195). Although this is clearly a mistake on Entrust's part, it seems that we will have to bodge around it. R=golang-dev, dave, r CC=golang-dev https://golang.org/cl/6346064
-
Rémy Oudompheng authored
Also improve extfloat.Normalize to obtain a modest performance gain in parsing, and add a shortcut path for exact integers. benchmark old ns/op new ns/op delta BenchmarkAtof64Decimal 73 73 -0.54% BenchmarkAtof64Float 91 91 -0.54% BenchmarkAtof64FloatExp 198 180 -9.09% BenchmarkAtof64Big 307 308 +0.33% BenchmarkAtof32Decimal 72 72 +0.42% BenchmarkAtof32Float 83 83 -0.72% BenchmarkAtof32FloatExp 212 186 -12.26% BenchmarkAtof32Random 262 250 -4.58% BenchmarkAppendFloatDecimal 474 305 -35.65% BenchmarkAppendFloat 497 489 -1.61% BenchmarkAppendFloatExp 493 483 -2.03% BenchmarkAppendFloatNegExp 481 481 +0.00% BenchmarkAppendFloatBig 667 652 -2.25% BenchmarkAppendFloat32Integer 338 307 -9.17% BenchmarkAppendFloat32ExactFraction 364 439 +20.60% BenchmarkAppendFloat32Point 1299 490 -62.28% BenchmarkAppendFloat32Exp 2593 489 -81.14% BenchmarkAppendFloat32NegExp 5116 481 -90.60% R=rsc, r CC=golang-dev, remy https://golang.org/cl/6303087
-
- 09 Jul, 2012 1 commit
-
-
David G. Andersen authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/6343084
-
- 08 Jul, 2012 4 commits
-
-
David G. Andersen authored
Ran 'double.pl' on the pkg tree to identify doubled words. One change to an error string return in x509; the rest are in comments. Thanks to Matt Jibson for the idea. R=golang-dev, bsiegert CC=golang-dev https://golang.org/cl/6344089
-
Matt Jibson authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6344088
-
Matthew William Jibson authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/6355076
-
David Symonds authored
R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/6349082
-
- 06 Jul, 2012 1 commit
-
-
Pieter Droogendijk authored
Made the following changes: - Export errprintf() from all three OS-specific modules - Added errprintf() to a.h - Moved errprintf() in windows.c under xprintf(), since they are so similar - Replaced all instances of xprintf() with errprintf() where a vflag check is done Fixes #3788. R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/6346056
-
- 05 Jul, 2012 2 commits
-
-
Shenghou Ma authored
according to http://code.google.com/chrome/extensions/browserAction.html, it should use "default_popup" instead of "popup". R=golang-dev, adg CC=golang-dev https://golang.org/cl/6349077
-
Shenghou Ma authored
So that _cgo_gotypes.go will be the same for the same source code. R=nigeltao CC=golang-dev https://golang.org/cl/6357067
-
- 04 Jul, 2012 1 commit
-
-
Dmitriy Vyukov authored
Move panic/defer/recover-related stuff from proc.c/runtime.c to a new file panic.c. No semantic changes. proc.c is 1800+ LOC and is a bit difficult to work with. R=golang-dev, dave, r CC=golang-dev https://golang.org/cl/6343071
-
- 03 Jul, 2012 5 commits
-
-
Robert Griesemer authored
This could be deduced from "The Laws of Reflection" but it seems worthwhile highlighting it. R=r CC=golang-dev https://golang.org/cl/6350073
-
Rémy Oudompheng authored
The use of math.Pow for mere squaring can be extremely slow on soft-float ARM. Even on systems with hardware floating-point, a speedup in test duration is observed. On amd64 Before: ok math/rand 2.009s After: ok math/rand 0.340s Fixes #3740. R=dave, golang-dev, r, r CC=golang-dev https://golang.org/cl/6348061
-
Brad Fitzpatrick authored
And fix some govet-caught format arg issues. R=r CC=golang-dev https://golang.org/cl/6354068
-
Rob Pike authored
The old code added a star but did not indirect the reflect.Type. R=bradfitz CC=golang-dev https://golang.org/cl/6348067
-
Shenghou Ma authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6353055
-