top | item 44146138 (no title) gregwebs | 9 months ago Not all impure iterators can be resumed. But any pure iterator can be converted to a resumable iterator with a generic conversion function. discuss order hn newest catlifeonmars|9 months ago > any pure iterator can be converted to a resumable iterator with a generic conversion function.Makes sense> Not all impure iterators can be resumedHow do you mean? In my head resuming an iterator is just partially unrolling a loop. nine_k|9 months ago An impure iterator can panic, so you can't resume?
catlifeonmars|9 months ago > any pure iterator can be converted to a resumable iterator with a generic conversion function.Makes sense> Not all impure iterators can be resumedHow do you mean? In my head resuming an iterator is just partially unrolling a loop. nine_k|9 months ago An impure iterator can panic, so you can't resume?
catlifeonmars|9 months ago
Makes sense
> Not all impure iterators can be resumed
How do you mean? In my head resuming an iterator is just partially unrolling a loop.
nine_k|9 months ago