diff --git a/doc/go1.21.html b/doc/go1.21.html index aa6fce6d36..3f7a73947f 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -202,6 +202,14 @@ Do not send CLs removing the interior tags from such phrases. increasing GOGC and/or GOMEMLIMIT slightly.

+

+ Calls from C to Go on threads created in C require some setup to prepare for + Go execution. On Unix platforms, this setup is now preserved across multiple + calls from the same thread. This significantly reduces the overhead of + subsequent C to Go calls from ~1-3 microseconds per call to ~100-200 + nanoseconds per call. +

+

Compiler