<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch weekly.2010-11-10</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=weekly.2010-11-10</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=weekly.2010-11-10'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2010-11-10T22:22:40Z</updated>
<entry>
<title>release step 1</title>
<updated>2010-11-10T22:22:40Z</updated>
<author>
<name>Rob Pike</name>
<email>r@golang.org</email>
</author>
<published>2010-11-10T22:22:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=013af62ae9cf4c4e34ba40294090b496693a8647'/>
<id>urn:sha1:013af62ae9cf4c4e34ba40294090b496693a8647</id>
<content type='text'>
R=gri
CC=golang-dev
https://golang.org/cl/3022041
</content>
</entry>
<entry>
<title>path: Fix Glob when it finds a file in directory position.</title>
<updated>2010-11-10T21:25:49Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2010-11-10T21:25:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=be0b649eb1efcf2c0f86e823c364322b7561ad5e'/>
<id>urn:sha1:be0b649eb1efcf2c0f86e823c364322b7561ad5e</id>
<content type='text'>
When searching a list of directories, the files which match
the pattern are accumulated in a slice.  If the glob has a
wildcard for the directory, and the wildcard matches a file
rather than a directory, then the files found so far are
discarded.  E.g., path.Glob("*/x") in a directory which
contains both files and subdirectories.  This patch avoids
discarding matches found so far when a file is found.

R=r
CC=bsiegert, golang-dev
https://golang.org/cl/3015042
</content>
</entry>
<entry>
<title>sort: binary search for sorted slices</title>
<updated>2010-11-10T21:19:28Z</updated>
<author>
<name>Robert Griesemer</name>
<email>gri@golang.org</email>
</author>
<published>2010-11-10T21:19:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=194dde22c39bef4db8db580a1de7c67b6f67103f'/>
<id>urn:sha1:194dde22c39bef4db8db580a1de7c67b6f67103f</id>
<content type='text'>
R=r, r2
CC=golang-dev
https://golang.org/cl/2997041
</content>
</entry>
<entry>
<title>testing: delete redundant name argument to Benchmark().</title>
<updated>2010-11-10T17:39:26Z</updated>
<author>
<name>Roger Peppe</name>
<email>rogpeppe@gmail.com</email>
</author>
<published>2010-11-10T17:39:26Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=089c21ea522b34c7c9539ac4620ecd09c1f59c77'/>
<id>urn:sha1:089c21ea522b34c7c9539ac4620ecd09c1f59c77</id>
<content type='text'>
[it was a carry over from the previous iteration]

R=r
CC=golang-dev
https://golang.org/cl/3016041
</content>
</entry>
<entry>
<title>fix error converting result of complex</title>
<updated>2010-11-10T01:39:36Z</updated>
<author>
<name>Ken Thompson</name>
<email>ken@golang.org</email>
</author>
<published>2010-11-10T01:39:36Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=cb3754fd434057d402af3f44037fbd08666d42c0'/>
<id>urn:sha1:cb3754fd434057d402af3f44037fbd08666d42c0</id>
<content type='text'>
division. resolves issue 1261.

R=rsc
CC=golang-dev
https://golang.org/cl/2985043
</content>
</entry>
<entry>
<title>go/ast: change embedded token.Position fields to named fields</title>
<updated>2010-11-09T19:26:54Z</updated>
<author>
<name>Robert Griesemer</name>
<email>gri@golang.org</email>
</author>
<published>2010-11-09T19:26:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=56bfe95e7f9abcc38d8cbe93f54f6e9a96b22944'/>
<id>urn:sha1:56bfe95e7f9abcc38d8cbe93f54f6e9a96b22944</id>
<content type='text'>
This is in preparation for a different position representation.
It also resolves situations where a node would be printed as
it's node position simply because the embedded token.Position
has a String method.

R=r
CC=golang-dev
https://golang.org/cl/2991041
</content>
</entry>
<entry>
<title>doc: fix go_spec spelling errors</title>
<updated>2010-11-09T18:10:57Z</updated>
<author>
<name>Peter Mundy</name>
<email>go.peter.90@gmail.com</email>
</author>
<published>2010-11-09T18:10:57Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=5928e1d4dc9ecca4a0dff78cdb3aa26193089c55'/>
<id>urn:sha1:5928e1d4dc9ecca4a0dff78cdb3aa26193089c55</id>
<content type='text'>
R=gri
CC=golang-dev
https://golang.org/cl/2970042
</content>
</entry>
<entry>
<title>container/list: make Remove return Value of removed element.</title>
<updated>2010-11-09T16:58:23Z</updated>
<author>
<name>Roger Peppe</name>
<email>rogpeppe@gmail.com</email>
</author>
<published>2010-11-09T16:58:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=e9afb9d399125e3f8bcda135913905ff3a3a6b5e'/>
<id>urn:sha1:e9afb9d399125e3f8bcda135913905ff3a3a6b5e</id>
<content type='text'>
When it is known that there is already at least one element in the
list, it is awkwardly verbose to use three lines and an extra
variable declaration to remove the first or last item (a common
case), rather than use a simple expression.

a stack:
	stk.PushFront(x)
	x = stk.Front().Remove().(T)

vs.
	stk.PushFront(x)
	e := stk.Front()
	e.Remove()
	x = e.Value.(T)
[An alternative CL might be to add PopFront and PopBack methods].

R=gri
CC=golang-dev
https://golang.org/cl/3000041
</content>
</entry>
<entry>
<title>doc: fix go_spec spelling error</title>
<updated>2010-11-09T16:46:13Z</updated>
<author>
<name>Peter Mundy</name>
<email>go.peter.90@gmail.com</email>
</author>
<published>2010-11-09T16:46:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=9626180918d834e0a6eb56e28c6ca201e39dbcba'/>
<id>urn:sha1:9626180918d834e0a6eb56e28c6ca201e39dbcba</id>
<content type='text'>
R=rsc, gri
CC=golang-dev
https://golang.org/cl/2985041
</content>
</entry>
<entry>
<title>bytes: SSE for bytes.IndexByte on amd64</title>
<updated>2010-11-09T01:33:53Z</updated>
<author>
<name>Evan Shaw</name>
<email>chickencha@gmail.com</email>
</author>
<published>2010-11-09T01:33:53Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=49fdfe21dd5d1a08b1edaac5c0caeedf492d32e2'/>
<id>urn:sha1:49fdfe21dd5d1a08b1edaac5c0caeedf492d32e2</id>
<content type='text'>
Performance on 2.8 GHz Intel Core i7:

Before:
BenchmarkIndexByte4K  1000000              2997 ns/op        1366.70 MB/s
BenchmarkIndexByte4M      500           3049772 ns/op        1375.28 MB/s
BenchmarkIndexByte64M      50          49582280 ns/op        1353.48 MB/s

After:
BenchmarkIndexByte4K 10000000               298 ns/op       13744.97 MB/s
BenchmarkIndexByte4M    10000            285993 ns/op       14665.76 MB/s
BenchmarkIndexByte64M     500           4618172 ns/op       14531.48 MB/s

R=rsc, PeterGo, r2, r
CC=golang-dev
https://golang.org/cl/2888041
</content>
</entry>
</feed>
