From: Keith Randall Date: Tue, 17 May 2022 16:54:11 +0000 (-0700) Subject: doc: update jump table performance release note X-Git-Tag: go1.19beta1~210 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d23c80b8e4cf1ff69176c78794a2cae10a1f5501;p=gostls13.git doc: update jump table performance release note Just make it clearer that the performance gains are for the switch statement itself, not the whole program. Change-Id: I2d1bf2888f61112af3dc37113e740b00b092e2cc Reviewed-on: https://go-review.googlesource.com/c/go/+/406874 Reviewed-by: Keith Randall Reviewed-by: Cherry Mui --- diff --git a/doc/go1.19.html b/doc/go1.19.html index dbcee75ce6..0c55a7eac2 100644 --- a/doc/go1.19.html +++ b/doc/go1.19.html @@ -76,7 +76,8 @@ Do not send CLs removing the interior tags from such phrases. The compiler now uses a jump table to implement large integer and string switch statements. - Performance improvements vary but can be on the order of 20% faster. + Performance improvements for the switch statement vary but can be + on the order of 20% faster. (GOARCH=amd64 and GOARCH=arm64 only)