You're not reading the graph right.

Lang            CPU/sec         Kb Mem          Lines of code

perl            4.72            1344            28
python          8.88            1492            27

Based on this test Perl is twice as fast as Python and uses less
memory.  Perl is faster than gcc and g++ in this test as well.  The
graph can be deceptive.  Read the stats to the left of the graph.

Hope this helps,

On Sat, 2002-08-03 at 14:52, Paul Tremblay wrote:
> On Fri, Aug 02, 2002 at 08:43:45AM -0500, Bryan DeLuca wrote:
> > If you are interested in language benchmarks you might want to check out
> > the "Great Computer Language Shootout":
> > 
> > http://www.bagley.org/~doug/shootout/
> > 
> > It has some surprising results.
> > 
> 
> Yes, the results are surprising. According to these benchmarks, perl is
> not that much faster than python when doing regexs. Can this be so? It
> seems when I have done my own anecdotal, unscientific tests, perl was so
> much faster that I decided to write my script in perl.
> 
> I would have expected perl to blow python or java or even C right out of
> the water when it comes to munging text.
> 
> Paul
> 
> -- 
> 
> ************************
> *Paul Tremblay         *
> *[EMAIL PROTECTED]*
> ************************
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
-- 
Bryan DeLuca
UNIX guy

Public key available at:  ftp://ftp.supakewl.com/pub/bryan_pub.key
This E-mail was scanned by Carnivore.  Get GNUpg http://www.gnupg.org


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to