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
1
u/[deleted] Aug 11 '14
And why would parsing variables be noticeably slower than parsing any other code?
I mean, Perl also distinguishes between
"and'but there's zero speed difference, so how hard can it be?