-
Notifications
You must be signed in to change notification settings - Fork 893
Open
Description
As originally posted on Gitter by @microgravitas:
Hi y'all! Can anyone point me to an example of how to implement an Python iterator which does not copy the whole underlying datastructure? All examples I could find used .clone(), something I'd like to avoid---if possible.
I've actually noticed this too about our iterator examples - it would be nice if we could find a way to make the .clone() unnecessary!
microgravitas, rapodaca, gilescope, xyb, FlorianLudwig and 8 more