<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/pkg/encoding/binary/binary.go, branch main</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2014-09-08T04:08:51Z</updated>
<entry>
<title>build: move package sources from src/pkg to src</title>
<updated>2014-09-08T04:08:51Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2014-09-08T04:08:51Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=c007ce824d9a4fccb148f9204e04c23ed2984b71'/>
<id>urn:sha1:c007ce824d9a4fccb148f9204e04c23ed2984b71</id>
<content type='text'>
Preparation was in CL 134570043.
This CL contains only the effect of 'hg mv src/pkg/* src'.
For more about the move, see golang.org/s/go14nopkg.
</content>
</entry>
<entry>
<title>encoding/binary: document that Read requires exported struct fields</title>
<updated>2014-05-09T21:19:21Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2014-05-09T21:19:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=c00804c55c9ecc65728387a1902e414cac03de10'/>
<id>urn:sha1:c00804c55c9ecc65728387a1902e414cac03de10</id>
<content type='text'>
Add a test for the current behaviour.

Fixes #7482.

LGTM=adg
R=golang-codereviews, adg
CC=golang-codereviews
https://golang.org/cl/95160043
</content>
</entry>
<entry>
<title>encoding/binary: make Write work like Read</title>
<updated>2013-08-13T21:03:56Z</updated>
<author>
<name>Rob Pike</name>
<email>r@golang.org</email>
</author>
<published>2013-08-13T21:03:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=c18af467fdec00d4369bc9b5a140ff1d043aab2e'/>
<id>urn:sha1:c18af467fdec00d4369bc9b5a140ff1d043aab2e</id>
<content type='text'>
Use the fast path calculation to shorten the code.
No effect on benchmarks.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/12696046
</content>
</entry>
<entry>
<title>encoding/binary: better description for intReadSize</title>
<updated>2013-08-09T23:11:58Z</updated>
<author>
<name>Rob Pike</name>
<email>r@golang.org</email>
</author>
<published>2013-08-09T23:11:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=556b337ece484d34d3dee1419579ca89475fcefc'/>
<id>urn:sha1:556b337ece484d34d3dee1419579ca89475fcefc</id>
<content type='text'>
It used to be called intDestSize; the new name is better too.

R=bradfitz
CC=golang-dev
https://golang.org/cl/12713043
</content>
</entry>
<entry>
<title>encoding/binary: fast path for reading slices</title>
<updated>2013-08-09T22:40:32Z</updated>
<author>
<name>Rob Pike</name>
<email>r@golang.org</email>
</author>
<published>2013-08-09T22:40:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=1f25f5ad48b61092bdd8f43af7c068db0e947363'/>
<id>urn:sha1:1f25f5ad48b61092bdd8f43af7c068db0e947363</id>
<content type='text'>
Again, it still allocates but the code is simple.

benchmark                       old ns/op    new ns/op    delta
BenchmarkReadSlice1000Int32s        35580        11465  -67.78%

benchmark                        old MB/s     new MB/s  speedup
BenchmarkReadSlice1000Int32s       112.42       348.86    3.10x

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/12694048
</content>
</entry>
<entry>
<title>encoding/binary: speed up writing slices of integers</title>
<updated>2013-08-09T13:15:08Z</updated>
<author>
<name>Rob Pike</name>
<email>r@golang.org</email>
</author>
<published>2013-08-09T13:15:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=c0465d0326c01f4f03f77cf3821d8b0f632364c1'/>
<id>urn:sha1:c0465d0326c01f4f03f77cf3821d8b0f632364c1</id>
<content type='text'>
Simple approach. Still generates garbage, but not as much.

benchmark                        old ns/op    new ns/op    delta
BenchmarkWriteSlice1000Int32s        40260        18791  -53.33%

benchmark                         old MB/s     new MB/s  speedup
BenchmarkWriteSlice1000Int32s        99.35       212.87    2.14x

Fixes #2634.

R=golang-dev, crawshaw
CC=golang-dev
https://golang.org/cl/12680046
</content>
</entry>
<entry>
<title>encoding/binary: document its goals better</title>
<updated>2013-08-09T07:08:02Z</updated>
<author>
<name>Rob Pike</name>
<email>r@golang.org</email>
</author>
<published>2013-08-09T07:08:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=e0405b73187fddbcd685490550681d4fb742105d'/>
<id>urn:sha1:e0405b73187fddbcd685490550681d4fb742105d</id>
<content type='text'>
It's a modest package with modest goals and limitations.
Make that clear.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/12694043
</content>
</entry>
<entry>
<title>encoding/binary: make type error more specific</title>
<updated>2013-02-15T18:12:28Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2013-02-15T18:12:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=2b9787c2f3861736e82aa715343b67157911917f'/>
<id>urn:sha1:2b9787c2f3861736e82aa715343b67157911917f</id>
<content type='text'>
Right now it says 'invalid type S' for a struct type S.
Instead, say which type inside the struct is the problem.

Fixes #4825.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/7301102
</content>
</entry>
<entry>
<title>all: fix the the typos</title>
<updated>2012-11-21T18:58:24Z</updated>
<author>
<name>Shenghou Ma</name>
<email>minux.ma@gmail.com</email>
</author>
<published>2012-11-21T18:58:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=42c8904fe1e8dcb5c2f951af0f5e8427c7f77540'/>
<id>urn:sha1:42c8904fe1e8dcb5c2f951af0f5e8427c7f77540</id>
<content type='text'>
Fixes #4420.

R=golang-dev, rsc, remyoudompheng
CC=golang-dev
https://golang.org/cl/6854080
</content>
</entry>
<entry>
<title>encoding/binary: skip blank fields when (en/de)coding structs</title>
<updated>2012-11-01T19:39:20Z</updated>
<author>
<name>Robert Griesemer</name>
<email>gri@golang.org</email>
</author>
<published>2012-11-01T19:39:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=27c990e7946d69fecc0c823e54f7d7da631ed1a5'/>
<id>urn:sha1:27c990e7946d69fecc0c823e54f7d7da631ed1a5</id>
<content type='text'>
- minor unrelated cleanups
- performance impact in the noise

benchmark                       old ns/op    new ns/op    delta
BenchmarkReadSlice1000Int32s        83462        83346   -0.14%
BenchmarkReadStruct                  4141         4247   +2.56%
BenchmarkReadInts                    1588         1586   -0.13%
BenchmarkWriteInts                   1550         1489   -3.94%
BenchmarkPutUvarint32                  39           39   +1.02%
BenchmarkPutUvarint64                 142          144   +1.41%

benchmark                        old MB/s     new MB/s  speedup
BenchmarkReadSlice1000Int32s        47.93        47.99    1.00x
BenchmarkReadStruct                 16.90        16.48    0.98x
BenchmarkReadInts                   18.89        18.91    1.00x
BenchmarkWriteInts                  19.35        20.15    1.04x
BenchmarkPutUvarint32              101.90       100.82    0.99x
BenchmarkPutUvarint64               56.11        55.45    0.99x

Fixes #4185.

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