Why is this so much faster?

Keir Rice keirrice at gmail.com
Thu Jun 2 21:28:28 EDT 2011


Thanks for the fast responses.

Tim, you're right I did have my lambda parameters the wrong way round.
Fixing up the order had no effect on the speed (platform is x64 win7).

Ian, I was basing my code off Fredrik Lundh post on comparing images.
http://effbot.org/zone/pil-comparing-images.htm

Terry, I will try replacing the pow function next.



More information about the Python-list mailing list