Calling functions with variables

Nice.

But is method() faster than switch(state){…?