Re: More microptimisation (Was Re: [PHP] Variable as an index)

From: Date: Tue, 23 Dec 2008 09:11:49 +0000
Subject: Re: More microptimisation (Was Re: [PHP] Variable as an index)
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.general 
Request: Send a blank email to php-general+get-285000@lists.php.net to get a copy of this message
On Mon, 22 Dec 2008 22:40:58 -0800, larstorben@gmail.com ("Lars Torben Wilson") wrote: >Well, in all fairness, it *is* faster--but you'll only notice the >difference in extremely tight and long-running loops (try it ;) ). As >long as you know why you're using it and what the side effects are, it >would be fine. But as an optimization tool, I'd agree that it's pretty >much pointless. > >It's good to remember the Rules of Optimization: > >#1) Don't. >#2) (For experts only) Don't do it yet. I like that!

« previous php.general (#285000) next »