You are here: Re: Why Returning References can't provide speed up? « PHP Programming Language « IT news, forums, messages
Re: Why Returning References can't provide speed up?

Posted by Michael Fesser on 02/09/07 16:44

..oO(howa)

>yes, it is echoed and discarded, but my point is:
>
>you need to allocate extra memory for storing the output of md5, so
>return by reference also make sense. (as well as your one above)

A reference also requires memory, so what? Such "over-optimization",
especially when nitpicking on single bytes of memory, usually just
makes things worse, because you don't know the exact internal handling
of variables and references. But the engine does, so you should let her
do their job.

Micha

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация