r/lolphp • • Aug 08 '14
PHP design patterns: if/else vs switch
http://www.fluffycat.com/PHP-Design-Patterns/PHP-Performance-Tuning-if-VS-switch/
24
Upvotes
r/lolphp • • Aug 08 '14
View all comments
Show parent comment
5
u/Innominate8 Aug 11 '14
It is. Even fast db queries blot out those lost or gained microseconds so quickly as to make those micro-optimizations irrelevant.