]> Cypherpunks repositories - gostls13.git/commit
internal/poll: remove handle field from Windows' poll.operation
authorqmuntal <quimmuntal@gmail.com>
Wed, 2 Jul 2025 09:12:28 +0000 (11:12 +0200)
committerGopher Robot <gobot@golang.org>
Thu, 24 Jul 2025 17:50:32 +0000 (10:50 -0700)
commitf11599b0b909a61d575bcea532ee2250f9a682da
treeb1af2bc00723e5ae803b776b99898604e88fabad
parentf7432e0230eef9f40117a901bc71e09db6432033
internal/poll: remove handle field from Windows' poll.operation

The handle field can be accessed directly wherever needed, there is
no need to store it in the operation struct.

This skims down the size of os.File by 16 bytes.

Change-Id: I87c94cb773437891127b6c36dc7f8883622ffed3
Reviewed-on: https://go-review.googlesource.com/c/go/+/685435
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
src/internal/poll/fd_windows.go
src/internal/poll/sendfile_windows.go