they both work the same.
Even though "swirch " may be faster,
it not faster by much.
Its barely enough to notice to humans perception.
Plus using switch you may lagg if you dont
do it the right way, causing your memory to
just pour out everywhere (mem leaks) lol
I myself preffer to use IF and ELSE
its a lot more code friendly to people that are just learning.