Commit 2ac9f1db authored by Ian Lance Taylor's avatar Ian Lance Taylor

doc/go1.14: mention new, more efficient, timers

Change-Id: I71fc3016106db733b888f3daccc00b493abe39b2
Reviewed-on: https://go-review.googlesource.com/c/go/+/207840Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 992d2e53
...@@ -171,6 +171,16 @@ TODO ...@@ -171,6 +171,16 @@ TODO
TODO TODO
</p> </p>
<p><!-- CL 171844 and many others -->
Internal timers, used by
<a href="/pkg/time/#After"><code>time.After</code></a>,
<a href="/pkg/time/#Tick"><code>time.Tick</code></a>,
<a href="/pkg/net/#Conn"><code>net.Conn.SetDeadline</code></a>,
and friends, are more efficient, with less lock contention and fewer
context switches.
This is a performance improvement that should not cause any user
visible changes.
</p>
<h2 id="library">Core library</h2> <h2 id="library">Core library</h2>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment