summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-04-30big/arith: assembly routines for 386 long shifts (2nd round)Robert Griesemer1-19/+16
R=rsc CC=golang-dev http://codereview.appspot.com/986044
2010-04-308g: bug272Russ Cox2-13/+62
Fixes issue 589. R=ken2 CC=golang-dev http://codereview.appspot.com/1043042
2010-04-30gc: bug271Russ Cox2-8/+27
Fixes issue 662. R=ken2 CC=golang-dev http://codereview.appspot.com/978043
2010-04-30gc: bug270Russ Cox2-4/+22
Fixes issue 746. R=ken2 CC=golang-dev http://codereview.appspot.com/1040042
2010-04-308l: fix absolute path detection on WindowsRuss Cox1-0/+4
Fixes issue 755. R=ken2 CC=golang-dev http://codereview.appspot.com/965047
2010-04-30syscall: handle EOF on pipe - special case on WindowsAlex Brainman2-0/+5
R=rsc CC=golang-dev http://codereview.appspot.com/962046 Committer: Russ Cox <rsc@golang.org>
2010-04-30fix buildRobert Griesemer1-0/+6
R=rsc CC=golang-dev http://codereview.appspot.com/1044041
2010-04-30big: improved computation of "karatsuba length" for faster multipliesRobert Griesemer3-64/+77
This results in an improvement of > 35% for the existing Mul benchmark using the same karatsuba threshold, and an improvement of > 50% with a slightly higher threshold (32 instead of 30): big.BenchmarkMul 500 6731846 ns/op (old alg.) big.BenchmarkMul 500 4351122 ns/op (new alg.) big.BenchmarkMul 500 3133782 ns/op (new alg., new theshold) Also: - tweaked calibrate.go, use same benchmark as for Mul benchmark R=rsc CC=golang-dev http://codereview.appspot.com/1037041
2010-04-30big: assembly routines for 386 long shiftsRobert Griesemer1-32/+67
R=rsc CC=golang-dev http://codereview.appspot.com/974043
2010-04-30big: implemented core shift routines in arith.go andRobert Griesemer5-0/+134
provide assembly versions (for x86-64 for now) (Not yet used - waiting for previous CL to clear) R=rsc CC=golang-dev http://codereview.appspot.com/1040041
2010-04-30Add EWOULDBLOCK to sycall_nacl.go.Nigel Tao1-0/+4
R=rsc CC=go-dev, golang-dev http://codereview.appspot.com/1006045
2010-04-29rename GOOS=mingw to GOOS=windowsAlex Brainman37-48/+48
R=rsc, Joe Poirier CC=golang-dev http://codereview.appspot.com/1015043 Committer: Russ Cox <rsc@golang.org>
2010-04-29syscall: force O_LARGEFILE in Linux open system callRuss Cox7-32/+65
Fixes issue 717. R=adg, PeterGo CC=golang-dev http://codereview.appspot.com/1032041
2010-04-29syscall: mingw SleepJoe Poirier2-1/+16
R=rsc, brainman CC=golang-dev http://codereview.appspot.com/961047 Committer: Russ Cox <rsc@golang.org>
2010-04-29gc: never include ( ) on singleton func return typeRuss Cox2-8/+22
Fixes issue 749. R=ken2 CC=golang-dev http://codereview.appspot.com/963043
2010-04-29gc: bug268Russ Cox2-0/+59
Fixes issue 745. R=ken2 CC=golang-dev http://codereview.appspot.com/1008045
2010-04-29net: use short variable declarationChristopher Wedgwood1-2/+1
R=rsc CC=golang-dev http://codereview.appspot.com/1019043 Committer: Russ Cox <rsc@golang.org>
2010-04-29net: parser should handle EOF without newline properly.Christopher Wedgwood1-10/+14
Fixes issue 686. R=rsc CC=adg, golang-dev http://codereview.appspot.com/979044 Committer: Russ Cox <rsc@golang.org>
2010-04-29go spec: fix iota descriptionRobert Griesemer1-5/+4
R=r, rsc CC=golang-dev http://codereview.appspot.com/946046
2010-04-29codelab/index.html: a few typos.Andrey Mirtchovski1-3/+3
R=adg CC=golang-dev http://codereview.appspot.com/993042 Committer: Andrew Gerrand <adg@golang.org>
2010-04-29codelab/index.html "os" needs to be imported because os.Error is used almost ↵Andrey Mirtchovski1-3/+6
immediately Also, calling fmt, ioutil and os "builtin" is probably confusing. R=adg CC=golang-dev http://codereview.appspot.com/965045 Committer: Andrew Gerrand <adg@golang.org>
2010-04-28darwin: bsdthread_create can fail; print good errorRuss Cox4-6/+11
Fixes issue 549. R=adg CC=golang-dev http://codereview.appspot.com/1019042
2010-04-28net: do not require newline at end of resolv.confRuss Cox1-0/+5
Fixes issue 686. R=adg CC=golang-dev http://codereview.appspot.com/961046
2010-04-28xml: allow text segments to end at EOFRuss Cox3-7/+31
Fixes issue 674. R=adg CC=golang-dev http://codereview.appspot.com/1018042
2010-04-28spec: clarify "continue" with label. the text was obvious in intent butRob Pike1-1/+4
inaccurate in meaning. R=gri CC=golang-dev http://codereview.appspot.com/964045
2010-04-28fmt: %T print <nil> for nilChristopher Wedgwood2-0/+5
R=r CC=golang-dev, rsc http://codereview.appspot.com/1014043 Committer: Rob Pike <r@golang.org>
2010-04-28Remove destination of symlink test in case it got left behindIan Lance Taylor1-0/+1
earlier. R=rsc CC=golang-dev http://codereview.appspot.com/972045
2010-04-275l, 6l, 8l, runtime: make -s binaries workRuss Cox16-59/+235
5l, 6l, 8l: change ELF header so that strip doesn't destroy binary Fixes issue 261. R=iant, r CC=golang-dev http://codereview.appspot.com/994044
2010-04-28release.2010-04-27 tagsAndrew Gerrand0-0/+0
R=r CC=golang-dev http://codereview.appspot.com/972044
2010-04-28release.2010-04-27Andrew Gerrand1-0/+63
R=r, rsc CC=golang-dev http://codereview.appspot.com/963042
2010-04-28wiki codelab: typo fixAndrew Gerrand2-2/+2
noticed this as I was submitting the previous CL :( R=r CC=golang-dev http://codereview.appspot.com/989045
2010-04-28Wiki codelab, complete with tests.Andrew Gerrand21-0/+2513
R=r, rsc, gri CC=golang-dev http://codereview.appspot.com/887045
2010-04-27big: implemented Karatsuba multiplicationRobert Griesemer5-92/+491
Plus: - calibration "test" - include in tests with gotest -calibrate - basic Mul benchmark - extra multiplication tests - various cleanups This change improves multiplication speed of numbers >= 30 words in length (current threshold; found empirically with calibrate): The multiplication benchmark (multiplication of a variety of long numbers) improves by ~35%, individual multiplies can be significantly faster. gotest -benchmarks=Mul big.BenchmarkMul 500 6829290 ns/op (w/ Karatsuba) big.BenchmarkMul 100 10600760 ns/op There's no impact on pidigits for -n=10000 or -n=20000 because the operands are are too small. R=rsc CC=golang-dev http://codereview.appspot.com/1004042 Committer: Robert Griesemer <gri@golang.org>
2010-04-27net: drop non-RHEL-4.6 ports from testRuss Cox1-2/+0
Fixes issue 610. R=adg CC=golang-dev http://codereview.appspot.com/1006044
2010-04-27iterable: expose iterFunc as iterable.FuncRuss Cox1-16/+17
Fixes issue 483. R=dsymonds, dsymonds1 CC=golang-dev http://codereview.appspot.com/965044
2010-04-27net: fix bug in internetSocket introduced by error cleanup.Russ Cox1-1/+1
Fixes issue 750. R=adg CC=golang-dev http://codereview.appspot.com/988043
2010-04-27go spec: fix wrong commentRobert Griesemer1-1/+1
Fixes issue 743. R=r, rsc CC=golang-dev http://codereview.appspot.com/944044
2010-04-28go_tutorial: removed outdated use of semicolonsAndrew Gerrand2-44/+44
R=r CC=golang-dev http://codereview.appspot.com/1013042
2010-04-27gc: better windows detectionRuss Cox2-20/+8
R=ken2 CC=golang-dev http://codereview.appspot.com/944043
2010-04-28template: remove reference to json-templateAndrew Gerrand1-3/+1
Rather than confuse people by linking to a spec we don't fully support, let them just use the package docs. R=r, rsc CC=golang-dev http://codereview.appspot.com/1016041
2010-04-27pidigits: ~10% performance win by using adds instead of shiftsRobert Griesemer1-2/+2
user time for pidigits -s -n=10000: 6.466s w/ adds 7.138s w/ shifts R=rsc CC=golang-dev http://codereview.appspot.com/1021041
2010-04-27fix buildRobert Griesemer1-1/+1
R=r CC=golang-dev http://codereview.appspot.com/989044
2010-04-27gc: fix islocalname on windowsRuss Cox2-1/+28
Fixes issue 732. R=ken2 CC=golang-dev http://codereview.appspot.com/956050
2010-04-27rpc/jsonrpc: support for jsonrpc wire encodingRuss Cox5-0/+393
R=r CC=golang-dev http://codereview.appspot.com/989042
2010-04-27json: delete obsolete codeRuss Cox3-452/+0
R=r CC=golang-dev http://codereview.appspot.com/943047
2010-04-27rpc: abstract client and server encodingsRuss Cox2-41/+131
R=r CC=golang-dev, rog http://codereview.appspot.com/811046
2010-04-27gofmt: fine-tune stripping of parenthesesRobert Griesemer3-46/+96
(composite literals in control clauses only need parentheses if the literals start with a type name) R=rsc CC=golang-dev http://codereview.appspot.com/962045
2010-04-276g bug: no need for parens around array index expressionRobert Griesemer2-0/+26
where index is a composite literal R=rsc CC=golang-dev http://codereview.appspot.com/961044
2010-04-27go/parser: don't require parens around composite literals inside a composite ↵Robert Griesemer2-0/+5
literal within an if, for, or switch control clause R=rsc CC=golang-dev http://codereview.appspot.com/943046
2010-04-27gofmt: don't strip mandatory ()'s around composite literals in control clausesRobert Griesemer3-7/+73
Fixes issue 748. R=rsc CC=golang-dev http://codereview.appspot.com/946043