[EMAIL PROTECTED] wrote: > ml1n wrote: > > In the interests of speed my thinking was that using map would move the > > loop out of Python and into C, is that the case when using list > > comprehension? I'd always thought it was just syntatic short hand for > > a Python loop. > > In Python the faster things are often the most simple. > You can time your code to see what's faster. > And even better you may try the simpler solution, and if the program > results too much slow with a profiling you can find the spots needing > improvements. > > Bye, > bearophile
Looks like someone already did: http://mail.python.org/pipermail/python-list/2005-January/259870.html Thanks for the shove in the right direction. M. -- http://mail.python.org/mailman/listinfo/python-list