diff --git a/doc/go1.22.html b/doc/go1.22.html index 3a441f4cf75..233f7e1fb01 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -691,6 +691,15 @@ defer func() { On Windows, passing O_SYNC to OpenFile now causes write operations to go directly to disk, equivalent to O_SYNC on Unix platforms.

+

+ On Windows, the ReadDir, + File.ReadDir, + File.Readdir, + and File.Readdirnames functions + now read directory entries in batches to reduce the number of system calls, + improving performance up to 30%. +

+

When io.Copy copies from a File to a net.UnixConn,