1
0
mirror of https://github.com/golang/go synced 2024-11-21 22:04:39 -07:00
The Go programming language
Go to file
Nigel Tao 13cf2473b8 exp/html: change a node's children from a slice to a linked list.
Also rename Node.{Add,Remove} to Node.{AppendChild,RemoveChild} to
be consistent with the DOM.

benchmark                      old ns/op    new ns/op    delta
BenchmarkParser                  4042040      3749618   -7.23%

benchmark                       old MB/s     new MB/s  speedup
BenchmarkParser                    19.34        20.85    1.08x

BenchmarkParser mallocs per iteration is also:
10495 before / 7992 after

R=andybalholm, r, adg
CC=golang-dev
https://golang.org/cl/6495061
2012-08-31 10:00:12 +10:00
api
doc go_spec.html: clarify rune and string literals 2012-08-29 14:46:57 -07:00
include
lib
misc cmd/ld: handle a special case of scattered relocation 2/1 on Darwin/386 2012-08-29 23:42:05 +08:00
src exp/html: change a node's children from a slice to a linked list. 2012-08-31 10:00:12 +10:00
test cmd/gc: string conversion for surrogates 2012-08-30 11:16:55 -07:00
.hgignore
.hgtags
AUTHORS A+C: add Patrick Crosby (individual contributor) 2012-08-29 13:24:53 +10:00
CONTRIBUTORS A+C: add Patrick Crosby (individual contributor) 2012-08-29 13:24:53 +10:00
favicon.ico
LICENSE
PATENTS
README
robots.txt
VERSION

This is the source code repository for the Go programming language.  

For documentation about how to install and use Go,
visit http://golang.org/ or load doc/install.html in your web browser.

After installing Go, you can view a nicely formatted
doc/install.html by running godoc --http=:6060
and then visiting http://localhost:6060/doc/install.html.

Unless otherwise noted, the Go source files are distributed
under the BSD-style license found in the LICENSE file.

--

Binary Distribution Notes

If you have just untarred a binary Go distribution, you need to set
the environment variable $GOROOT to the full path of the go
directory (the one containing this README).  You can omit the
variable if you unpack it into /usr/local/go, or if you rebuild
from sources by running all.bash (see doc/install.html).
You should also add the Go binary directory $GOROOT/bin
to your shell's path.

For example, if you extracted the tar file into $HOME/go, you might
put the following in your .profile:

    export GOROOT=$HOME/go
    export PATH=$PATH:$GOROOT/bin

See doc/install.html for more details.