News for hackers. Stuff that matters.
Re:PyCon 2011: How Dropbox Did It and How Python Helped by pdhborges on Monday March 14, 2011 @06:49AM (#2321980)
Just a little not so readers don't get the wrong impression:

- imap returns an iterator, any is used to "force" the iterator run through all elements.

- the loop runs on C because of any. Instead of a for loop where jump and body are repeatedly evaluated by the interpreter, any consumes the iterator through a loop implemented in C.

There are no comments on this comment yet.