- 11 May, 2010 1 commit
-
-
Nigel Tao authored
Timings (as for change 1122043) go from 49ms to 48ms ish. It's mostly lost in the noise, but it probably doesn't hurt. R=r CC=golang-dev https://golang.org/cl/1179041
-
- 10 May, 2010 1 commit
-
-
Nigel Tao authored
To draw.Draw a 32x32 image.Alpha 10000 times, Before: 633ms with 10000 mallocs After: 49ms with 0 mallocs These times are just blitting an image.Alpha, and do not include rasterizing a glyph's vector contours to an image.Alpha. The "generic" test case in draw_test.go tests this fast path. R=rsc CC=golang-dev https://golang.org/cl/1122043
-
- 09 May, 2010 2 commits
-
-
Rob Pike authored
methods when looking up names. Fixes #764. R=rsc CC=golang-dev https://golang.org/cl/1170041
-
Michael Hoisie authored
R=rsc CC=golang-dev https://golang.org/cl/1173041
-
- 08 May, 2010 3 commits
-
-
Robert Griesemer authored
- removed last argument (n) from all core arithmetic routines; instead, use the length of the result - simplified nat.make implementation and chose a better capacity for new values, removed a TODO in the process Changing the constant e from 1 (old) to 4 (new) improved pidigits -s -n 10000 by ~9% (on a 3.06GHz Intel Core 2 Duo): user 0m3.882s (old) user 0m3.549s (new) R=rsc CC=golang-dev https://golang.org/cl/1133043
-
Robert Griesemer authored
- pass []Word instead of *Word to core arithmetic functions - remove dead code R=rsc CC=golang-dev https://golang.org/cl/1154042
-
Robert Griesemer authored
R=rsc, iant, r CC=golang-dev https://golang.org/cl/1171041
-
- 07 May, 2010 7 commits
-
-
Rob Pike authored
NewDeflater -> NewWriter NewInflater -> NewReader Deflater -> Compressor Inflater -> Decompressor R=rsc CC=golang-dev https://golang.org/cl/1166041
-
Rob Pike authored
returned to caller. R=rsc CC=golang-dev https://golang.org/cl/1164041
-
Rob Pike authored
values are encoded for transmission. R=rsc CC=golang-dev https://golang.org/cl/1146041
-
Ian Lance Taylor authored
This permits cgo callbacks to work when run in init code. Otherwise cgocallback switches to the wrong stack address. R=rsc CC=golang-dev https://golang.org/cl/1123043
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/1139042
-
Robert Griesemer authored
- no need to make copies in cases of aliases - removed deprecated internal shift functions - minor unrelated simplifications This change improves pidigits -s -n10000 by almost 20%: user 0m6.156s (old) user 0m4.999s (new) (pidigits -s -n20000 goes from ~25s to ~19s) R=rsc CC=golang-dev https://golang.org/cl/1149041
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/1148041
-
- 06 May, 2010 4 commits
-
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/1140041
-
Rob Pike authored
fix a bug in the handling of indirect maps. R=rsc CC=golang-dev https://golang.org/cl/1132042
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/1138041
-
Nigel Tao authored
R=rsc, cw, nigeltao_golang CC=golang-dev https://golang.org/cl/1134041
-
- 05 May, 2010 8 commits
-
-
Rob Pike authored
Because maps are mostly a hidden type, they must be implemented using reflection values and will not be as efficient as arrays and slices. R=rsc CC=golang-dev https://golang.org/cl/1127041
-
Rob Pike authored
R=golang-dev CC=golang-dev https://golang.org/cl/1121041
-
Russ Cox authored
R=r, bradfitzpatrick CC=golang-dev https://golang.org/cl/1118041
-
Kyle Consalus authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/1072041
-
Conrad Meyer authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/1113041
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/1112041
-
Andrew Gerrand authored
R=r, rsc CC=golang-dev https://golang.org/cl/1094043
-
Robert Griesemer authored
specification of runtime exceptions for make and division by zero R=r, rsc, ken2, iant CC=golang-dev https://golang.org/cl/1081041
-
- 04 May, 2010 6 commits
-
-
Ken Thompson authored
external variable assignements. R=rsc CC=golang-dev https://golang.org/cl/1094041
-
Robert Griesemer authored
- 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 https://golang.org/cl/1091041
-
Russ Cox authored
Fixes #692. R=ken2 CC=golang-dev https://golang.org/cl/1092041
-
Russ Cox authored
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 https://golang.org/cl/1054041
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/1081042
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/1090041
-
- 03 May, 2010 8 commits
-
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/1067042
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/1046042
-
Russ Cox authored
R=gri CC=golang-dev https://golang.org/cl/1084041
-
Russ Cox authored
Import _mulv from Inferno again, change R9 to R2. Not sure what the other differences were for, but they weren't working. TBR=kaib CC=golang-dev https://golang.org/cl/1079041
-
Russ Cox authored
TBR=kaib CC=golang-dev https://golang.org/cl/1080041
-
Evan Shaw authored
R=gri CC=golang-dev https://golang.org/cl/987041
-
Russ Cox authored
TBR=r CC=golang-dev https://golang.org/cl/1077041
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/1021043
-