From e2efadb1c7f3adee1263db834a6394017b100d73 Mon Sep 17 00:00:00 2001 From: qmuntal Date: Thu, 19 Sep 2024 17:25:52 +0200 Subject: [PATCH] _content/doc/go1.23: document Windows timers resulution improvements 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 LUCI-TryBot-Result: Go LUCI Reviewed-by: Dmitri Shuralyov Reviewed-by: Ian Lance Taylor --- _content/doc/go1.23.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_content/doc/go1.23.md b/_content/doc/go1.23.md index 746b6c81c6..cc098034ea 100644 --- a/_content/doc/go1.23.md +++ b/_content/doc/go1.23.md @@ -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