I don't think it makes it efficient, but a bit more categorized :p
The speeds of comparing 2 strings are so rapid and commands are used so rarely you simply won't notice any performance difference.
Events & timers is where serious memory is being used.