Andreas Beyer <[EMAIL PROTECTED]> writes: > OK, you won. I read in an (regretably old) guidline for improving > Python's performance that you should prefer map() compared to list > comprehensions. Apparently the performance of list comprehensions has > improved a lot, which is great. (Or the overhead of calling map() got > too big, but I hope this is not the case.) So, what is the purpose of > map()? Should it too be deprecated?
map() is already slated for removal in Python 3.0. <mike -- Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list