mirror of https://github.com/golang/go.git
doc: mention jump tables and tsan upgrades in 1.19 release notes
Change-Id: I0ab34f2f931e0e712218e4eb086f4535cc17775c Reviewed-on: https://go-review.googlesource.com/c/go/+/405614 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Keith Randall <khr@golang.org> Run-TryBot: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
4388faf964
commit
e0ae8540ab
|
|
@ -71,6 +71,14 @@ Do not send CLs removing the interior tags from such phrases.
|
||||||
TODO: complete this section, or delete if not needed
|
TODO: complete this section, or delete if not needed
|
||||||
</p>
|
</p>
|
||||||
<h2 id="compiler">Compiler</h2>
|
<h2 id="compiler">Compiler</h2>
|
||||||
|
|
||||||
|
<p><!-- https://golang.org/issue/5496 CL 357330, 395714, 403979 -->
|
||||||
|
The compiler now uses
|
||||||
|
a <a href="https://en.wikipedia.org/wiki/Branch_table">jump
|
||||||
|
table</a> to implement large integer and string switch statements.
|
||||||
|
Performance improvements vary but can be on the order of 20% faster.
|
||||||
|
(<code>GOARCH=amd64</code> and <code>GOARCH=arm64</code> only)
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
TODO: complete this section, or delete if not needed
|
TODO: complete this section, or delete if not needed
|
||||||
</p>
|
</p>
|
||||||
|
|
@ -168,6 +176,26 @@ Do not send CLs removing the interior tags from such phrases.
|
||||||
</dd>
|
</dd>
|
||||||
</dl><!-- runtime -->
|
</dl><!-- runtime -->
|
||||||
|
|
||||||
|
<dl id="runtime/race"><dt><a href="/pkg/runtime/race">runtime/race</a></dt>
|
||||||
|
<dd>
|
||||||
|
<p><!-- https://go.dev/issue/49761 -->
|
||||||
|
The race detector has been updgraded to use thread sanitizer
|
||||||
|
version v3.
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
Faster (typically 1.5 to 2 times faster)
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Uses less memory (typically 1/2 as much)
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Supports unlimited numbers of goroutines
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
</dd>
|
||||||
|
</dl><!-- runtime/race -->
|
||||||
|
|
||||||
<dl id="strconv"><dt><a href="/pkg/strconv/">strconv</a></dt>
|
<dl id="strconv"><dt><a href="/pkg/strconv/">strconv</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p><!-- CL 397255 -->
|
<p><!-- CL 397255 -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue