<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.11beta1</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.11beta1</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.11beta1'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2018-06-26T20:00:51Z</updated>
<entry>
<title>cmd/compile: improve escape analysis explanation</title>
<updated>2018-06-26T20:00:51Z</updated>
<author>
<name>David Chase</name>
<email>drchase@google.com</email>
</author>
<published>2018-06-26T16:00:25Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=a12c1f26e4cc602dae62ec065a237172a5b8f926'/>
<id>urn:sha1:a12c1f26e4cc602dae62ec065a237172a5b8f926</id>
<content type='text'>
No code changes, only revised comments in an attempt to make
escape analysis slightly less confusing.

Updates #23109.

Change-Id: I5ee6cea0946ced63f6210ac4484a088bcdd862fb
Reviewed-on: https://go-review.googlesource.com/121001
Run-TryBot: David Chase &lt;drchase@google.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Cherry Zhang &lt;cherryyz@google.com&gt;
</content>
</entry>
<entry>
<title>ast: refer to "embedded" rather than "anonymous" fields in</title>
<updated>2018-06-26T19:40:44Z</updated>
<author>
<name>Rowan Marshall</name>
<email>rowanajmarshall@gmail.com</email>
</author>
<published>2018-06-22T17:36:17Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=1f3c0eefd29c70a69f79b8a0bb98b9c71effe5ee'/>
<id>urn:sha1:1f3c0eefd29c70a69f79b8a0bb98b9c71effe5ee</id>
<content type='text'>
documentation.

Fixes #25684.

Change-Id: I9d0e47dff2446c27a3df88fb9ccfefef7419470b
Reviewed-on: https://go-review.googlesource.com/120556
Reviewed-by: Robert Griesemer &lt;gri@golang.org&gt;
</content>
</entry>
<entry>
<title>go/types: rename NewInterface2 to NewInterfaceType</title>
<updated>2018-06-26T17:31:34Z</updated>
<author>
<name>Robert Griesemer</name>
<email>gri@golang.org</email>
</author>
<published>2018-06-25T23:21:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=cd016af6b6bbbeeb1c14fea574914862a50c3ad6'/>
<id>urn:sha1:cd016af6b6bbbeeb1c14fea574914862a50c3ad6</id>
<content type='text'>
NewInterface2 was introduced with https://go-review.googlesource.com/114317
which fixed #25301. Changed the name to NewInterfaceType to better match
Go naming styles, per discussion with @josharian, @iant, et al.

Change-Id: Ifa4708a5efd4f708295b33c3d20fdc5812e1b4fc
Reviewed-on: https://go-review.googlesource.com/120875
Reviewed-by: Josh Bleecher Snyder &lt;josharian@gmail.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
<entry>
<title>syscall/js: use stable references to JavaScript values</title>
<updated>2018-06-26T16:40:09Z</updated>
<author>
<name>Richard Musiol</name>
<email>mail@richard-musiol.de</email>
</author>
<published>2018-06-24T15:23:38Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=8997ec1c4e01b01f9950f0869085ef5be6d45ef0'/>
<id>urn:sha1:8997ec1c4e01b01f9950f0869085ef5be6d45ef0</id>
<content type='text'>
This commit changes how JavaScript values are referenced by Go code.
After this change, a JavaScript value is always represented by the same
ref, even if passed multiple times from JavaScript to Go. This allows
Go's == operator to work as expected on js.Value (strict equality).
Additionally, the performance of some operations of the syscall/js
package got improved by saving additional roundtrips to JavaScript code.

Fixes #25802.

Change-Id: Ide6ffe66c6aa1caf5327a2d3ddbe48fe7c180461
Reviewed-on: https://go-review.googlesource.com/120561
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
</content>
</entry>
<entry>
<title>syscall: fix typo in RawSyscall6 comment</title>
<updated>2018-06-26T14:41:15Z</updated>
<author>
<name>Xargin</name>
<email>cao1988228@163.com</email>
</author>
<published>2018-06-26T03:33:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d89efc3c06edd25c686717003b4b82e864d7d0bc'/>
<id>urn:sha1:d89efc3c06edd25c686717003b4b82e864d7d0bc</id>
<content type='text'>
Change-Id: I589a60459a3b0811da77d46428eca57c741b1184
GitHub-Last-Rev: f9ab775b9d7f869916af6de9abb7c1d5f0005f1b
GitHub-Pull-Request: golang/go#26063
Reviewed-on: https://go-review.googlesource.com/120917
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>cmd/cgo: mention character restrictions on #cgo lines</title>
<updated>2018-06-26T14:39:02Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2018-06-26T13:40:26Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=5fad09016b172cd70a8e47b0f1ed0db07d1ebd17'/>
<id>urn:sha1:5fad09016b172cd70a8e47b0f1ed0db07d1ebd17</id>
<content type='text'>
Fixes #26025

Change-Id: I43b3c9019ca8d2844e4d664c2090e506b2171077
Reviewed-on: https://go-review.googlesource.com/120975
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
</content>
</entry>
<entry>
<title>time: run genzabbrs.go to update zoneinfo_abbrs_windows.go</title>
<updated>2018-06-26T09:55:39Z</updated>
<author>
<name>Alberto Donizetti</name>
<email>alb.donizetti@gmail.com</email>
</author>
<published>2018-06-24T12:23:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=97fa89497db21823fd13da319915349b13891d46'/>
<id>urn:sha1:97fa89497db21823fd13da319915349b13891d46</id>
<content type='text'>
The abbreviations list in zoneinfo_abbrs_windows.go was last updated
in June 2017, and it's currently outdated. Update it.

Change-Id: Ie2bf4268787f5aefe98ee110c2c279451e18fd97
Reviewed-on: https://go-review.googlesource.com/120559
Run-TryBot: Alberto Donizetti &lt;alb.donizetti@gmail.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Alex Brainman &lt;alex.brainman@gmail.com&gt;
</content>
</entry>
<entry>
<title>cmd/compile: map delete should clear value always</title>
<updated>2018-06-26T01:57:01Z</updated>
<author>
<name>Vladimir Kuzmin</name>
<email>vkuzmin@uber.com</email>
</author>
<published>2018-06-21T05:19:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=b080abf656feea5946922b2782bfeaa73cc317d4'/>
<id>urn:sha1:b080abf656feea5946922b2782bfeaa73cc317d4</id>
<content type='text'>
Map delete must clear value every time because
newly added map optimizations of compound-assignment
operators (CL #91557) rely on this behavior of map delete.

It slows down map delete operation for non-reference types:

name                   old time/op    new time/op    delta
MapDelete/Int32/100      23.9ns ± 2%    27.8ns ± 4%  +16.04%  (p=0.000 n=20+20)
MapDelete/Int32/1000     21.5ns ± 2%    25.2ns ± 2%  +17.06%  (p=0.000 n=20+19)
MapDelete/Int32/10000    24.2ns ± 6%    27.2ns ± 5%  +12.39%  (p=0.000 n=19+19)
MapDelete/Int64/100      24.2ns ± 4%    27.7ns ± 2%  +14.55%  (p=0.000 n=20+20)
MapDelete/Int64/1000     22.1ns ± 2%    24.8ns ± 2%  +12.36%  (p=0.000 n=10+20)

Fixes #25936

Change-Id: I8499b790cb5bb019938161b3e50f3243d9bbb79c
Reviewed-on: https://go-review.googlesource.com/120255
Run-TryBot: Emmanuel Odeke &lt;emm.odeke@gmail.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
</content>
</entry>
<entry>
<title>cmd/dist: increase timeout scale to 3 for windows</title>
<updated>2018-06-25T20:52:59Z</updated>
<author>
<name>Andrew</name>
<email>andybons@golang.org</email>
</author>
<published>2018-06-25T20:24:37Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=3c586d4483b0cf59cd57adec150317c497065845'/>
<id>urn:sha1:3c586d4483b0cf59cd57adec150317c497065845</id>
<content type='text'>
cmd/go can sometimes take up to 400s on windows due
to various issues (disk I/O on builders being the
latest cause). Increase the timeout scale to account
for this.

Change-Id: I1fd4964472a70fb0f33cf6ed73298c034b9c1fb0
Reviewed-on: https://go-review.googlesource.com/120762
Run-TryBot: Andrew Bonventre &lt;andybons@golang.org&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>cmd/compile: avoid remainder in loopbce when increment=0</title>
<updated>2018-06-25T20:36:42Z</updated>
<author>
<name>David Chase</name>
<email>drchase@google.com</email>
</author>
<published>2018-06-25T19:26:45Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=7e9d55eeeb183ee95d26b3ed4ff171902605decf'/>
<id>urn:sha1:7e9d55eeeb183ee95d26b3ed4ff171902605decf</id>
<content type='text'>
For non-unit increment, loopbce checks to see if the
increment evenly divides the difference between (constant)
loop start and end.  This test panics when the increment
is zero.

Fix: check for zero, if found, don't optimize the loop.

Also added missing copyright notice to loopbce.go.

Fixes #26043.

Change-Id: I5f460104879cacc94481949234c9ce8c519d6380
Reviewed-on: https://go-review.googlesource.com/120759
Run-TryBot: David Chase &lt;drchase@google.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
</content>
</entry>
</feed>
