]> Cypherpunks repositories - gostls13.git/commit
doc/go1.21: document reflect.Value escape improvements
authorCherry Mui <cherryyz@google.com>
Fri, 12 May 2023 19:09:03 +0000 (15:09 -0400)
committerCherry Mui <cherryyz@google.com>
Tue, 16 May 2023 21:37:42 +0000 (21:37 +0000)
commit51fe7062d3bdcf3c1fc6de5b8ef8aa689a1d2b73
tree94b9b205ca96906b9f75b79dfbd9ec4603c4449c
parent7240d7e9e47af734f1b3d3b11769c2bfaa079c1c
doc/go1.21: document reflect.Value escape improvements

With CL 408826, CL 413474, etc. reflect.ValueOf no longer
unconditionally escapes its argument, allowing a Value's content
to be allocated on the stack.

Change-Id: I3a0af85c11e2fd0df42b056095565f0ce5548886
Reviewed-on: https://go-review.googlesource.com/c/go/+/494657
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Austin Clements <austin@google.com>
doc/go1.21.html