|
Posted by Iván Sánchez Ortega on 02/08/07 19:16
howa wrote:
> Do not use return-by-reference to increase performance, the engine is
> smart enough to optimize this on its own
>
> ------------------
>
> Why?
Please re-read the above sentence. Specifically, re-read the part about "the
engine is smart enough to optimize this on its own".
> Return-by-reference should at least faster, more efficient, so I can't
> find a reason not using it.
Code cleanliness. If the Zend Engine is capable of returning references as
needed, why bother keeping track of what is a reference and what is not?
--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
"kill -9 needs no justification!"
-- BOFH
Navigation:
[Reply to this message]
|