1
0
mirror of https://github.com/golang/go synced 2024-11-27 00:31:23 -07:00

Update go1.13.html

This commit is contained in:
Carlo Alberto Ferraris 2019-08-10 22:10:42 +09:00 committed by GitHub
parent 8ad7a66fd0
commit 2995401dab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -802,11 +802,11 @@ godoc
<dl id="sync"><dt><a href="/pkg/sync/">sync</a></dt> <dl id="sync"><dt><a href="/pkg/sync/">sync</a></dt>
<dd> <dd>
<p><!-- CL 148958, CL 148959, CL 152697, CL 152698 --> <p><!-- CL 148958, CL 148959, CL 152697, CL 152698 -->
The fast paths of <a href="/pkg/sync/#Mutex.Lock><code>Mutex.Lock</code></a>, <a href="/pkg/sync/#Mutex.Unlock><code>Mutex.Unlock</code></a>, The fast paths of <a href="/pkg/sync/#Mutex.Lock"><code>Mutex.Lock</code></a>, <a href="/pkg/sync/#Mutex.Unlock"><code>Mutex.Unlock</code></a>,
<a href="/pkg/sync/#RWMutex.Lock><code>RWMutex.Lock</code></a>, <a href="/pkg/sync/#Mutex.RUnlock><code>RWMutex.RUnlock</code></a>, and <a href="/pkg/sync/#RWMutex.Lock"><code>RWMutex.Lock</code></a>, <a href="/pkg/sync/#Mutex.RUnlock"><code>RWMutex.RUnlock</code></a>, and
<a href="/pkg/sync/#Once.Do><code>Once.Do</code></a> are now inlined in their callers. <a href="/pkg/sync/#Once.Do"><code>Once.Do</code></a> are now inlined in their callers.
For the uncontended cases on amd64, these changes make <a href="/pkg/sync/#Once.Do><code>Once.Do</code></a> twice as fast, and the For the uncontended cases on amd64, these changes make <a href="/pkg/sync/#Once.Do"><code>Once.Do</code></a> twice as fast, and the
<a href="/pkg/sync/#Mutex><code>Mutex</code></a>/<a href="/pkg/sync/#RWMutex><code>RWMutex</code></a> methods up to 10% faster. <a href="/pkg/sync/#Mutex"><code>Mutex</code></a>/<a href="/pkg/sync/#RWMutex"><code>RWMutex</code></a> methods up to 10% faster.
</p> </p>
<p><!-- CL 166960 --> <p><!-- CL 166960 -->