]> Cypherpunks repositories - gostls13.git/commit
runtime: use unsafe.Slice in itabInit
authorIan Lance Taylor <iant@golang.org>
Wed, 3 Dec 2025 23:15:30 +0000 (15:15 -0800)
committerGopher Robot <gobot@golang.org>
Sat, 7 Feb 2026 23:11:25 +0000 (15:11 -0800)
commit9777ceceec8fee294d038182739cab7c845ad2d1
treeb6d8da99709a58c2d20cd09f5fb9bbff8f02ea4c
parentd440b8b48560d29995d299973e6c79bd11fb90e9
runtime: use unsafe.Slice in itabInit

As opposed to old style (*[1 << 16]T(p)[:n:n].

Change-Id: I6836f87741a2e2f6cef34f87cc839d15e309cc67
Reviewed-on: https://go-review.googlesource.com/c/go/+/726401
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/runtime/iface.go