Re: Pointers For Newbies, Reminders For Oldies

From: Date: Wed, 27 Jan 2010 17:42:31 +0000
Subject: Re: Pointers For Newbies, Reminders For Oldies
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-301569@lists.php.net to get a copy of this message
Daniel Brown wrote:
On Wed, Jan 27, 2010 at 12:27, Ashley Sheridan <ash@ashleysheridan.co.uk> wrote:
Depends I guess on how far you need to optimise the code. I'd imagine that to something like Facebook, every split-second of optimisation is worth it, as even a 100th of a second becomes minutes of wasted time over the course of a few hours when you consider their volume of users, even with caching.
    Right.  That, and the translation factors are the two most
important things to mention. Further, translatable quotes take longer to process because they're first evaluated for things to translate. This only equals out to a few FLOPS, but when increasing by magnitude, the FLOPS are increased exponentially as well. And add on a few more FLOPS for each translation, such as escaped quotes and dollar signs.
I'm pretty sure you meant linearly in the above comment. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP

« previous php.general (#301569) next »