We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eee6f2b commit 01e703cCopy full SHA for 01e703c
doc/go1.21.html
@@ -202,6 +202,14 @@ <h2 id="runtime-changes">Runtime</h2>
202
increasing <code>GOGC</code> and/or <code>GOMEMLIMIT</code> slightly.
203
</p>
204
205
+<p><!-- https://go.dev/issue/51676 -->
206
+ Calls from C to Go on threads created in C require some setup to prepare for
207
+ Go execution. On Unix platforms, this setup is now preserved across multiple
208
+ calls from the same thread. This significantly reduces the overhead of
209
+ subsequent C to Go calls from ~1-3 microseconds per call to ~100-200
210
+ nanoseconds per call.
211
+</p>
212
+
213
<h2 id="compiler">Compiler</h2>
214
215
<!-- CL 490819 -->
0 commit comments