Skip to content

Commit

Permalink
_content/doc/go1.23: document Windows timers resulution improvements
Browse files Browse the repository at this point in the history
I missed to add timer resolution improvements in the release notes for
Go 1.23. This is a significant change, so better late than never.

For golang/go#44343

Change-Id: I7fe22a1752a45df9094d5233bed762823322c7a9
Reviewed-on: https://go-review.googlesource.com/c/website/+/614435
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
  • Loading branch information
qmuntal committed Sep 20, 2024
1 parent ed4f083 commit e2efadb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _content/doc/go1.23.md
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,9 @@ Templates now support the new "else with" action, which reduces template complex
[`Parse`](/pkg/time#Parse) and [`ParseInLocation`](/pkg/time#ParseInLocation) now return an error if the time zone
offset is out of range.

On Windows, [`Timer`](/pkg/time#Timer), [`Ticker`](/pkg/time#Ticker), and functions that put the goroutine to sleep,
such as [`Sleep`](/pkg/time#Sleep), got their time resolution improved to 0.5ms instead of 15.6ms.

#### [`unicode/utf16`](/pkg/unicode/utf16/)

The [`RuneLen`](/pkg/unicode/utf16#RuneLen) function returns the number of 16-bit words in
Expand Down

0 comments on commit e2efadb

Please sign in to comment.