- 26 Apr, 2010 6 commits
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/1004043
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/980043
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/1009041
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/982043
-
Russ Cox authored
More in line with other regexp packages and egrep; accommodates overzealous escapers. R=r CC=golang-dev https://golang.org/cl/1008041
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/1007041
-
- 23 Apr, 2010 3 commits
-
-
Russ Cox authored
Enable package tests for Native Client build. R=r CC=golang-dev https://golang.org/cl/957042
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/970042
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/962043
-
- 22 Apr, 2010 5 commits
-
-
Evan Shaw authored
Changed most of the functions in nat.go to methods on nat. R=gri CC=golang-dev https://golang.org/cl/976041
-
Rob Pike authored
Uid, Gid become int. File size info becomes int64. Times become int64. R=rsc, cw CC=golang-dev https://golang.org/cl/968042
-
Evan Shaw authored
Everything was linking to "Run_time_panics", but the id was "Run_time_errors". R=golang-dev, r CC=golang-dev https://golang.org/cl/961042
-
Evan Shaw authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/917042
-
Evan Shaw authored
R=rsc, gri CC=golang-dev https://golang.org/cl/967041
-
- 21 Apr, 2010 16 commits
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/953041
-
Russ Cox authored
Fixes #733. R=r CC=golang-dev https://golang.org/cl/958041
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/971041
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/970041
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/961041
-
Rob Pike authored
run reverse-complement only once. (garbage is no longer an issue) R=rsc CC=golang-dev https://golang.org/cl/968041
-
Russ Cox authored
R=gri, eds CC=golang-dev https://golang.org/cl/947042
-
Kyle Consalus authored
R=rsc CC=golang-dev https://golang.org/cl/940041
-
Evan Shaw authored
This gives about a 6% performance improvement to pidigits. Thanks to Russ for the suggestion. R=rsc, gri CC=golang-dev https://golang.org/cl/957041
-
Evan Shaw authored
There was a bug in makeN that caused lots of unnecessary allocations. Fixing this exposed a few bugs in other functions which worked when makeN allocated a new slice, but failed when it simply resized an existing slice. The result is a pretty big performance improvement. When running pidigits, here were the numbers I got on amd64: Before this change: 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 After: pidigits 10000 gcc -O2 pidigits.c -lgmp 2.09u 0.00s 2.10r gc pidigits 6.82u 0.00s 6.85r gc_B pidigits 6.55u 0.01s 6.59r R=rsc, gri CC=golang-dev https://golang.org/cl/953042
-
Andrew Gerrand authored
R=r, cw CC=golang-dev https://golang.org/cl/895043
-
Russ Cox authored
Due to page boundary rounding, the header would have been loaded as part of the text segment already, but this change placates the "paxctl" tool on so-called hardened Linux distributions (as if normal distributions weren't already hard enough to use). R=r CC=golang-dev https://golang.org/cl/954041
-
Evan Shaw authored
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 https://golang.org/cl/881050
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/955041
-
Russ Cox authored
to avoid confusion with real cgo R=r CC=golang-dev https://golang.org/cl/904046
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/823048
-
- 20 Apr, 2010 2 commits
-
-
Evan Shaw authored
R=rsc, gri CC=golang-dev https://golang.org/cl/929041
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/919045
-
- 19 Apr, 2010 5 commits
-
-
Kyle Consalus authored
Added strings.FieldsFunc, a generalization of strings.Fields in style of the strings.Trim*Func functions. R=golang-dev, r CC=golang-dev https://golang.org/cl/824051
-
Andrew Gerrand authored
This results in a 10-20x size reduction per record. (from ~150kb to ~10kb) This revision has been pushed live, as I'm in the process of converting Log records to bz2-compresed CompressedLog records. I would have waited but we're running seriously low on space and it seemed like a sane (and reversible) move. R=rsc CC=golang-dev https://golang.org/cl/872048
-
Evan Shaw authored
Some old packages on the list were preventing this benchmark from working. R=golang-dev, r CC=golang-dev https://golang.org/cl/820045
-
Russ Cox authored
Fixes #729. R=ken2 CC=golang-dev https://golang.org/cl/875048
-
Andrew Gerrand authored
SETSID does return an errno - any reason why it has been done this way in zsyscall_linux_* ? Otherwise it should be the same as darwin. From SETSID(2) on my Linux box: ERRORS On error, -1 is returned, and errno is set. Fixes #730 R=rsc CC=golang-dev https://golang.org/cl/878047
-
- 18 Apr, 2010 3 commits
-
-
Raif S. Naffah authored
xml: add support for XML marshalling embedded structs. R=rsc CC=golang-dev https://golang.org/cl/837042
-
Michael Hoisie authored
packStructValue was cutting off last byte of uint32 in _Dns_msg.Unpack, use packRR for rr types R=rsc CC=golang-dev https://golang.org/cl/844048
-
Russ Cox authored
This is the first of probably four separate CLs for the new implementation of the json package. The scanner is the core of the new implementation. The other CLs would be the new decoder, the new encoder, and support for JSON streams. R=r CC=golang-dev https://golang.org/cl/802051
-