Thank you :)

Le jeudi 27 novembre 2025 à 14:31:13 UTC+1, Jan Mercl a écrit :

> On Thu, Nov 27, 2025 at 2:20 PM Pierre Durand <[email protected]> wrote:
>
> > Does the Go compiler generate jump table ?
> > If I write a switch case (with fixed string or int value), and return 
> immediately, does it generate a jump table ?
> > If so, can you show me the file where it is done.
>
> eg. 
> https://github.com/golang/go/blob/cead111a772c2852c870fb140029d89152da4d14/src/cmd/compile/internal/walk/switch.go#L297
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/fbae4d0b-9ed4-4400-82f6-1f7989598275n%40googlegroups.com.

Reply via email to