|
|
|
|
|
by MrDOS
1552 days ago
|
|
> can't the backend (...) implement a jump table? Note that my example “switches” over two independent variables. Even if the Go compiler did generate a table, for this example it would really be generating two tables: and then we're back to the “how is this better than an `if`?” question. |
|