[Tutor] Python2 speed vs Python1.5.2
Scott Ralph Comboni
scott@zenplex.com
23 May 2001 14:04:20 -0400
I just finished a small script that uses the re module for regular
expression processing. It's a very simple script that parses a text
file and does a re.sub then saves the new file out 1000 times. I ran the
script under Python2.0 and Python1.5.2 and found that Python1.5.2 took
4secs while 2.0 took 15secs.. Any answer why Python2.0 is slower?
Scott
--
Scott Comboni
Zenplex, Inc.
317 Madison Ave.
Suite 1500
New York NY, 10017
212.499.0668 ext2219
http://www.zenplex.com
http://www.zenplex.org
http://tambora.zenplex.org