Would it be poor form to mark a sequence that will be either infinite or otherwise ridiculously long to conform to LazySequenceProtocol
(instead of Sequence
directly) to minimize the chances of calls to filter
or map
(effectively) soft-locking the program?
1 Like