Tag-Archive for » print «

Wednesday, November 05th, 2008 | Author: AHSauge

I’ve previously been talking about premature optimization. Today I thought I should illustrate how ridicules some of the stuff is by busting “echo is faster than print”. There’s a lot of people calming that this is true (1, 2, 3, 4 and a lot of others). Now to be clear, they are somewhat right about this. Echo is really faster than print, which it really should due to the fact that echo don’t return anything while print does. The problem and my point here however, is how much this difference really is. The answer is so tiny that you can forget actually measuring it in a real world application. There’s why: more…