Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement interleave_shortest() #445
Conversation
This comment has been minimized.
This comment has been minimized.
|
Just wondering, why does the |
This comment has been minimized.
This comment has been minimized.
|
Looks good! Just one thing, can you add this to
Probably because itertools doesn't require them to be |
This comment has been minimized.
This comment has been minimized.
|
Thanks! |
laumann commentedSep 22, 2017
Add interleave_shortest() to IndexedParallelIterator that acts like
interleave, except it terminates as soon as one of the iterators is
exhausted.
The other part of/Fixes #384