develooper Front page | perl.fwp | Postings from November 2001

Re: Feel good benchmarks

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
November 21, 2001 10:13
Subject:
Re: Feel good benchmarks
Message ID:
20011121131114.A19638@blackrider
On Wed, Nov 21, 2001 at 09:51:32AM +0200, Ariel Scolnicov wrote:
> > 139423224561697698330489613862193018947914545343780323868775030943672596190605867771863846635039486902272
>
> For mission-critical enterprise-level high-throughput Fibonacci
> generation, you want to logarithmic-time algorithm.
>
> <hal2 92 [9:50] ~/Tests >/usr/bin/time ./fib-fast 500
> 139423224561697873388268830107091057642465893024716039229340111610069135233925734164006795046787674537984
>
> Algorithms count!

So does correctness, yours gives the wrong answer.

No wonder it's the Enterprise edition. ;)


-- 

Michael G. Schwern   <schwern@pobox.com>    http://www.pobox.com/~schwern/
Perl Quality Assurance	    <perl-qa@perl.org>	       Kwalitee Is Job One
Don't treat people this way!  Milk & Cheese are indestructible!  You are not!

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About