On Fri, 2008-08-01 at 23:24 -0500, Andy Lester wrote:
> On Aug 1, 2008, at 10:16 PM, Brian Moon wrote:
> 
> > You here a lot about code optimizations being a waste of time.  But,  
> > I always tell people when I am speaking about code optimizations  
> > that if you can save .001 seconds per loop in a loop of 100 items,  
> > you saved a second.  In the web world, a second is a lot.  So, I say  
> > no optimization is too small if it is a good idea.  Just my .02.
> 
> 
> Except in this case we're talking about simplicity more than  
> anything.  Removing statistic functions isn't going to save any  
> execution time.

Actually it will... Since all loaded functions exist in one of two hash
tables, the smaller these hash tables the better they fit in cache. If
you don't use functions (or only use a couple, and only load them), then
you're going to have a lot more cache hits... so it'll be a bit faster.
-- 
Stewart Smith ([EMAIL PROTECTED])
http://www.flamingspork.com/

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to