You are here: Re: [PHP] using ($test)?$true:$false in a string « PHP « IT news, forums, messages
Re: [PHP] using ($test)?$true:$false in a string

Posted by Richard Heyes on 09/28/16 11:32

Robert Cummings wrote:
> On Mon, 2005-11-21 at 10:02, Richard Heyes wrote:
>
>>Readability is in the eye of the beholder.
>
>
> But efficiency isn't ;)

Try measuring the difference between the various methods over a
realistic number of iterations, eg. 100. There's little point in going
through ones code trying to "optimise" these things. Sure you might gain
a millisecond here or there, but so what? You'd have to have a
*seriously* busy site for that to make a difference.

--
Richard Heyes

 

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

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