If I have a complex if else statement and I replace it with a switch case
statement do I loose any performance? I would think I would gain
performance and the code is definitely easier to maintain but I wanted some
other opinions.
John Guynn
This email brought to you by RFCs 821 and 1225.
--
t: Tuesday, February 13, 2001 11:34 AM
Subject: [PHP] Any performance penalties for switch vs. if/else?
If I have a complex if else statement and I replace it with a switch case
statement do I loose any performance? I would think I would gain
performance and the code is definitely easier to m
2 matches
Mail list logo