- 22 Apr, 2010 3 commits
-
-
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
-
- 16 Apr, 2010 6 commits
-
-
Rob Pike authored
Fixes #675. R=rsc, msolo CC=golang-dev https://golang.org/cl/882049
-
Kai Backman authored
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 https://golang.org/cl/880046
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/890048
-
Evan Shaw authored
We were letting bignum decide, which caused problems with float literals with a leading 0. R=gri CC=golang-dev https://golang.org/cl/816047
-
Evan Shaw authored
R=gri CC=golang-dev https://golang.org/cl/846050
-
Evan Shaw authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/908044
-
- 15 Apr, 2010 5 commits
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/872045
-
Andrei Vieru authored
$ godoc xml | grep Copy\(\) func (c CharData) Copy() CharData func (c Comment) Copy() Comment func (d Directive) Copy() Directive func (p ProcInst) Copy() ProcInst func (e StartElement) Copy() StartElement -------------------------------------------- $ godoc -src xml | grep Copy\(\) func (c CharData) Copy() CharData -------------------------------------------- $ godoc -src xml Copy func (c CharData) Copy() CharData { return CharData(makeCopy(c)) } -------------------------------------------- The command "godoc -src pkg_name" should output the interface of the named package, but it excludes all duplicate entries. Also the command "godoc -src pkg_name method_name" will output the source code only for one method even if there are more of them with the same name in the same package. This patch set fixes this issue. R=gri CC=golang-dev https://golang.org/cl/883051
-
Kai Backman authored
R=rsc CC=golang-dev https://golang.org/cl/912041
-
Kai Backman authored
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 https://golang.org/cl/876045
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/840045
-