Speed of Python 1.5.x vs 2.0

Peter Schneider-Kamp peter at schneider-kamp.de
Sun Dec 24 05:21:03 EST 2000


Hei Alex!

If you used the code you posted, I'm not surprised by
the results. In the first module you have:

> print "Using map and lambda:     %f" % stopWatch(withMap)
> print "Using list-comprehension: %f" % stopWatch(withMap)

And in the second again:

> print "Using map and lambda:     %f" % stopWatch(withMap)
> print "Using list-comprehension: %f" % stopWatch(withMap)

merry-xmas-ly y'rs
Peter




More information about the Python-list mailing list