4 ms·
Nice, idiomatically! But if the original `things` is gigabytes in size and streamed from elsewhere, isn't it queueing those all up, as they're read from `also_
by gojomo 6y ago
Nice, idiomatically!
But if the original `things` is gigabytes in size and streamed from elsewhere, isn't it queueing those all up, as they're read from `also_things`, in case they're ever read from new `things` - even if they're not?
- rjeli 6y agoOops, you’re right. more-itertools has `peekable`, that’s probably the most readable