| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
tweaks & tests of last bug fix too.
R=ken2
CC=golang-dev
http://codereview.appspot.com/1207044
|
|
|
|
|
|
| |
R=rsc
CC=golang-dev
http://codereview.appspot.com/1224044
|
|
|
|
|
|
| |
R=rsc
CC=golang-dev
http://codereview.appspot.com/1198046
|
|
|
|
|
|
| |
R=r, ken2
CC=golang-dev
http://codereview.appspot.com/1260041
|
|
|
|
|
|
|
|
| |
Fixes issue 772.
R=ken2
CC=golang-dev
http://codereview.appspot.com/1206043
|
|
|
|
|
|
| |
TBR=kaib
CC=golang-dev
http://codereview.appspot.com/1256042
|
|
|
|
|
|
| |
R=r, iant
CC=golang-dev
http://codereview.appspot.com/1195042
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- renamed Len -> BitLen, simplified implementation
- renamed old Div, Mod, DivMod -> Que, Rem, QuoRem
- implemented Div, Mod, DivMod (Euclidian definition, more
useful in a mathematical context)
- fixed a bug in Exp (-0 was possible)
- added extra tests to check normalized results everywhere
- uniformly set Int.neg flag at the end of computations
- minor cosmetic cleanups
- ran all tests
R=rsc
CC=golang-dev
http://codereview.appspot.com/1091041
|
|
|
|
|
|
|
|
| |
Fixes issue 692.
R=ken2
CC=golang-dev
http://codereview.appspot.com/1092041
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OLD fasta -n 25000000
gcc -O2 fasta.c 7.59u 0.06s 7.74r
gc fasta 9.54u 0.15s 9.84r
gc_B fasta 9.48u 0.10s 9.62r
NEW fasta -n 25000000
gcc -O2 fasta.c 2.59u 0.02s 2.66r
gc fasta 3.00u 0.03s 3.09r
gc_B fasta 2.72u 0.03s 2.81r
R=r
CC=golang-dev
http://codereview.appspot.com/1054041
|
|
|
|
|
|
| |
R=ken2
CC=golang-dev
http://codereview.appspot.com/1090041
|
|
|
|
|
|
| |
R=ken2
CC=golang-dev
http://codereview.appspot.com/1067042
|
|
|
|
|
|
| |
TBR=kaib
CC=golang-dev
http://codereview.appspot.com/1080041
|
|
|
|
|
|
|
|
| |
Fixes issue 589.
R=ken2
CC=golang-dev
http://codereview.appspot.com/1032044
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- fixed a couple of bugs in the process
(shift right was incorrect for negative numbers)
- added more tests and made some tests more robust
- changed pidigits back to using shifts to multiply
by 2 instead of add
This improves pidigit -s -n 10000 by approx. 5%:
user 0m6.496s (old)
user 0m6.156s (new)
R=rsc
CC=golang-dev
http://codereview.appspot.com/963044
|
|
|
|
|
|
|
|
| |
Fixes issue 589.
R=ken2
CC=golang-dev
http://codereview.appspot.com/1043042
|
|
|
|
|
|
|
|
| |
Fixes issue 662.
R=ken2
CC=golang-dev
http://codereview.appspot.com/978043
|
|
|
|
|
|
|
|
| |
Fixes issue 746.
R=ken2
CC=golang-dev
http://codereview.appspot.com/1040042
|
|
|
|
|
|
|
|
| |
Fixes issue 749.
R=ken2
CC=golang-dev
http://codereview.appspot.com/963043
|
|
|
|
|
|
|
|
| |
Fixes issue 745.
R=ken2
CC=golang-dev
http://codereview.appspot.com/1008045
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
where index is a composite literal
R=rsc
CC=golang-dev
http://codereview.appspot.com/961044
|
|
|
|
|
|
|
|
| |
R=r, rsc
CC=golang-dev
http://codereview.appspot.com/978042
Committer: Russ Cox <rsc@golang.org>
|
|
|
|
|
|
| |
R=ken2, r, ken3
CC=golang-dev
http://codereview.appspot.com/1006041
|
|
|
|
|
|
|
|
| |
Enable package tests for Native Client build.
R=r
CC=golang-dev
http://codereview.appspot.com/957042
|
|
|
|
|
|
|
|
| |
run reverse-complement only once. (garbage is no longer an issue)
R=rsc
CC=golang-dev
http://codereview.appspot.com/968041
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This yields a pretty significant performance boost to pidigits and there are still some improvements to be made. Here are my numbers:
amd64 w/ bignum:
pidigits 10000
gcc -O2 pidigits.c -lgmp 2.10u 0.00s 2.10r
gc pidigits 22.92u 0.02s 22.97r
gc_B pidigits 22.62u 0.00s 22.65r
amd64 w/ big:
pidigits 10000
gcc -O2 pidigits.c -lgmp 2.09u 0.02s 2.11r
gc pidigits 12.68u 0.04s 12.72r
gc_B pidigits 12.71u 0.03s 12.75r
386 w/ bignum:
pidigits 10000
gcc -O2 pidigits.c -lgmp 2.09u 0.00s 2.09r
gc pidigits 44.30u 0.01s 44.35r
gc_B pidigits 44.29u 0.03s 44.35r
386 w/ big:
pidigits 10000
gcc -O2 pidigits.c -lgmp 2.10u 0.00s 2.10r
gc pidigits 22.70u 0.06s 22.79r
gc_B pidigits 22.80u 0.09s 22.91r
R=rsc, gri
CC=golang-dev
http://codereview.appspot.com/881050
Committer: Russ Cox <rsc@golang.org>
|
|
|
|
|
|
|
|
|
|
| |
Some old packages on the list were preventing this benchmark from working.
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/820045
Committer: Rob Pike <r@golang.org>
|
|
|
|
|
|
|
|
| |
Fixes issue 729.
R=ken2
CC=golang-dev
http://codereview.appspot.com/875048
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this is a version synthesized from rsc's, dean's and my
versions. changes and updates:
- embeds the retval script and pushes a new version to the
device if needed
- passes arguments correctly to the program on the device
- export GOARCH, GOTRACEBACK and GOGC from the local
environment to the device.
- added times.out support to run-arm
enabled a few tests that are now passing and moved the
GOGC=off workaround to run-arm.
R=dpx
CC=golang-dev, rsc
http://codereview.appspot.com/880046
|
|
|
|
|
|
| |
R=rsc
CC=golang-dev
http://codereview.appspot.com/912041
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fmt.Printf("float32 %f\n", float32(1234.56789))
fmt.Printf("float64 %f\n", float64(1234.56789))
->
float32 1234.567871
float64 1234.567890
this is a snapshot. extended instruction support, corner cases
and fixes coming in subseuent cls.
R=rsc
CC=dpx, golang-dev
http://codereview.appspot.com/876045
|
|
|
|
|
|
|
|
| |
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/854046
Committer: Russ Cox <rsc@golang.org>
|
|
|
|
|
|
| |
R=ken2
CC=golang-dev
http://codereview.appspot.com/891050
|
|
|
|
|
|
| |
R=ken2
CC=golang-dev
http://codereview.appspot.com/883049
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tested on linux/amd64, linux/386, linux/arm, darwin/amd64, darwin/386.
freebsd untested; will finish in a separate CL.
for now all the panics are errorStrings.
richer structures can be added as necessary
once the mechanism is shaked out.
R=r
CC=golang-dev
http://codereview.appspot.com/906041
|
|
|
|
|
|
| |
TBR=kaib
CC=golang-dev
http://codereview.appspot.com/897041
|
|
|
|
|
|
| |
TBR=kaib
CC=golang-dev
http://codereview.appspot.com/883046
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Fix bug in GOMAXPROCS when trying to cut number of procs
Race could happen on any system but was
manifesting only on Xen hosted Linux.
2. Fix recover on ARM, where FP != caller SP.
R=r
CC=golang-dev
http://codereview.appspot.com/880043
|
|
|
|
|
|
|
|
| |
R=rsc
CC=golang-dev
http://codereview.appspot.com/881042
Committer: Russ Cox <rsc@golang.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* correct symbol table size
* do not reorder functions in output
* traceback
* signal handling
* use same code for go + defer
* handle leaf functions in symbol table
R=kaib, dpx
CC=golang-dev
http://codereview.appspot.com/884041
|
|
|
|
|
|
|
|
| |
R=ken2, r
CC=golang-dev
http://codereview.appspot.com/871042
Committer: Russ Cox <rsc@golang.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* adds pass 3 to dequeue from channels eagerly
various other cleanup/churn:
* use switch on cas->send in each pass to
factor out common code.
* longer goto labels, commented at target
* be more agressive about can't happen:
throw instead of print + cope.
* use "select" instead of "selectgo" in errors
* use printf for debug prints when possible
R=ken2, ken3
CC=golang-dev, r
http://codereview.appspot.com/875041
|
|
|
|
|
|
| |
R=r
CC=golang-dev
http://codereview.appspot.com/805043
|
|
|
|
|
|
| |
R=r, adg
CC=golang-dev
http://codereview.appspot.com/869041
|
|
|
|
|
|
| |
R=ken2, r, ken3
CC=golang-dev
http://codereview.appspot.com/831042
|
|
|
|
|
|
| |
R=r
CC=golang-dev
http://codereview.appspot.com/833044
|
|
|
|
|
|
|
|
|
|
|
|
| |
note that sortmain.go has been run through hg gofmt;
only the formatting of the day initializers changed.
i'm happy to revert that formatting if you'd prefer.
stop on error in doc/progs/run
R=r
CC=golang-dev
http://codereview.appspot.com/850041
|
|
|
|
|
|
|
|
| |
Fixes issue 700.
R=ken2
CC=golang-dev
http://codereview.appspot.com/839041
|
|
|
|
|
|
|
|
| |
( http://code.google.com/p/go/issues/detail?id=700 )
R=r
CC=golang-dev
http://codereview.appspot.com/827042
|