string goes away

Mike Meyer mwm at mired.org
Sat Apr 2 18:33:12 EST 2005


Andreas Beyer <beyer at imb-jena.de> 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 <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list