Python 2 times slower than Perl
Thomas Wouters
thomas at xs4all.net
Wed Jul 18 09:13:27 EDT 2001
On Wed, Jul 18, 2001 at 12:05:24AM -0700, Xu, C.S. wrote:
> Interesting is for perl: On the same PII 450 MHz, "for" loop
> in stead of "while" loop increase about 10% speed, but on another
> PIII 1GHz, "for" slowes down speed by 30% (from 8 seconds of
> "while" to 10.6 seconds of "for"). Only computers themselves
> can understand, :-(
Are you sure you're using the same version of Python on both machines ?
--
Thomas Wouters <thomas at xs4all.net>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
More information about the Python-list
mailing list