Re: Calendar Problem

From: Date: Wed, 12 Aug 2009 14:50:14 +0000
Subject: Re: Calendar Problem
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-296703@lists.php.net to get a copy of this message
tedd wrote: > > Your solution had 61 iterations (for loop) while mind had only 21, so > mine's a bit faster. Here's the comparison: > > http://php1.net/b/fridays/ > > But I'll use your solution -- it's more elegant. > > Thanks for the code, > > tedd > Actually, if you refresh your page you have different winners. When I first visited the page yours was fastest by approximately .001, but on refresh yours is slower by .001. You need to execute the test let's say 100 or 1000 times or more (more is better) and take either the average or I would say the minimum. -- Thanks! -Shawn http://www.spidean.com

« previous php.general (#296703) next »