Sort with extra variables

MonkeeSage MonkeeSage at
Sat Mar 3 00:20:33 CET 2007

On Mar 2, 5:11 pm, Thomas Dybdahl Ahle <lob... at> wrote:
> Wouldn't that be just as slow?

Well, I'm not sure about speed, but with the lambda you're creating a
new callable for f every time you call sortMoves. Intuitively, that
seems like it would be more of a hit than just doing a lookup for a
predefined function. Mabye not could time it and see.


More information about the Python-list mailing list