Closed cool-RR closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Thanks,
I missed this PR somehow
Looks like stalebot is the real hero :)
This is a faster and more idiomatic way of using
itertools.chain
. Instead of computing all the items in the iterable and storing them in memory, they are computed one-by-one and never stored as a huge list. This can save on both runtime and memory space.