i dont know but i think that in some cases the command /goto is faster as in this example
alias t {
var %x $r(1,5)
if %x == 1 { /cmd }
elseif %x == 2 { /cmd }
elseif %x == 3 { /cmd }
elseif %x == 4 { /cmd }
elseif %x == 5 { /cmd }
}
alias t {
goto $r(1,5)
:1
/cmd
halt
:2
/cmd
halt
...
...
..
:5
/cmd
halt
}
so with /goto the code avoid several conditions