Tuesday, December 21, 2010

Performance tips

Hi All,

Last week i was doing some exploration on performance of if statements vs switch statements and surprisingly i found that switch is more performance intent than the if statements.Hence the recomendation would be to prefer swicth over if statements.

I hope this helps!.

No comments: