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.
- 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.