What is faster: if or switch?
#5

I seem to remember that the compiled code looks pretty much the same, but obviously a switch looks neater and is easier to read. Personally I am also not a fan of "else if". To me, that attests bad coding style.
Reply


Messages In This Thread
What is faster: if or switch? - by BiosMarcel - 10.01.2016, 19:20
Re: What is faster: if or switch? - by Darkwood17 - 10.01.2016, 19:28
Re: What is faster: if or switch? - by BiosMarcel - 10.01.2016, 19:42
Re: What is faster: if or switch? - by Runn3R - 10.01.2016, 20:45
Re: What is faster: if or switch? - by Vince - 10.01.2016, 21:48

Forum Jump:


Users browsing this thread: 5 Guest(s)