View Single Post
Old Sep 24th, 2005, 8:39 AM   #20
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
If you're going to be calling a function in each iteration in the list then map is probably faster, yes. It's the fact that list comprehensions allow you to get away with not having to call a function that makes them faster for a bunch of situations
Cerulean is offline   Reply With Quote