WHY is python slow?
wart at softhome.net
Thu Jun 7 18:38:46 CEST 2001
>>>>> "Bernhard" == Bernhard Reiter writes:
Bernhard> In article <mailman.991900751.7603.python-list at python.org>,
Bernhard> Steven Haryanto <steven at haryan.to> writes:
>> Although it is generally accepted that Python is slower than
Bernhard> Well, actually I do not accept this. :) Speed comparisons are
I'll try to be short and descriptive ;)
wart at penguin:~$ cat test.py
print 'Hello, world!'
wart at penguin:~$ cat test.pl
print "Hello, world!\n";
wart at penguin:~$ time perl test.pl
wart at penguin:~$ time python test.py
wart at penguin:~$ time python -S test.py
P.S. While the real time of the last command was floating from 0.018 to
0.025 between the runs, but it is anyway less than that of perl ;)
echo "Your stdio isn't very std."
-- Larry Wall in Configure from the perl distribution
More information about the Python-list