What is faster?
#4

Switch is not "faster", it works different, it works with constants, while with if-else if you can check if two variables are same.
Learn how to use each the right way, and you don't need your code to be "faster" at all, everything would just work.
Reply


Messages In This Thread
What is faster? - by Whatname - 03.08.2016, 18:37
Re: What is faster? - by Luicy. - 03.08.2016, 18:43
Re: What is faster? - by Whatname - 03.08.2016, 18:44
Re: What is faster? - by PrO.GameR - 03.08.2016, 22:31
Re: What is faster? - by SickAttack - 03.08.2016, 23:15

Forum Jump:


Users browsing this thread: 1 Guest(s)