Re: Re: Hidden costs of PHP arrays?
| From: | Kyle Terry | Date: | Fri, 30 Jan 2009 07:44:38 +0000 |
| Subject: | Re: Re: Hidden costs of PHP arrays? | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287397@lists.php.net to get a copy of this message | ||
On Jan 29, 2009, at 6:07 PM, Eric Butera <eric.butera@gmail.com> wrote:
On Thu, Jan 29, 2009 at 9:02 PM, Paul M Foster <paulf@quillandmouse.comwrote:I know this well. I also work in a framework where 8 nested foreaches can be found. Arrays are hardly expensive in my position...On Fri, Jan 30, 2009 at 11:10:16AM +1100, Clancy wrote: <snip>Flip side of the coin: also no point in wasting 10 hours accomplishing something that can be done in 2 on a management screen that rarely gets used. :)As a former assembly language programmer I have some idea of the vast amount of thumb twiddling which is going on behind-the-scenes when I make some apparently simple request like the one to get my phone number. Undoubtedly most of this occurs in the murky depths of the operating system, but if there were any simple way to avoid adding to it unnecessarily it would be nice to know about it.Ahhh, finally someone who understands this principle. There's simply no reason to waste cycles if you don't have to. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
--http://www.voom.me | EFnet: #voom --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php---- No seriously... http://voom.me | EFnet #voom