switch() vs if/else if
#1

Hi guys, I was wondering if (if/else if) in larger callbacks like OnDialogResponse with 400 if/else if statements caused more lag than switch. Is it really more efficient to use switch or is is there no difference?
Reply


Messages In This Thread
switch() vs if/else if - by ElMaestro123 - 13.06.2018, 10:42
Re: switch() vs if/else if - by jlalt - 13.06.2018, 10:56
Re: switch() vs if/else if - by 10MIN - 13.06.2018, 11:17
Re: switch() vs if/else if - by jlalt - 13.06.2018, 11:32
Re: switch() vs if/else if - by Logic_ - 13.06.2018, 11:34
Re: switch() vs if/else if - by ElMaestro123 - 13.06.2018, 16:37

Forum Jump:


Users browsing this thread: 1 Guest(s)