[Tutor] list comprehension efficiency
Bill Allen
wallenpb at gmail.com
Sun Feb 19 02:31:49 CET 2012
Generally speaking, are list comprehensions more efficient that the
equivalent for loop with interior conditionals for a given task? Do they
compile down to the same Python byte code?
Thanks,
Bill Allen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120218/6f6fdd67/attachment.html>
More information about the Tutor
mailing list