,, using java 1.8 (use ‘criterium.core) (def s (range 1000)) (def v (vec s)) (def s50 (range 50)) (def v50 (vec s50)) CLJ-1515 currently breaks this patch (LongRange cannot be converted to Iterable), but I imagine that’ll get better when it absorbs the changes from CLJ-1603 The -5 patch is same -3 except all uses of IteratorSeq have been replaced with a ChunkedCons that is effectively a chunked version of the old IteratorSeq. While no one calls it, I left IteratorSeq in the code base in case of regression. Generally, the chunked iterator seq reduces the cost in a number of the worst cases and also is a clear benefit in making seqs over a result of eduction or sequence faster to traverse (as they are now chunked). I think the one potential issue is that seqs over iterators are now chunked when they were not before which could change programs that expect their stateful iterator to be traversed one at a time. This change could be isolated to just to sequence and seq-iterator and mitigated by not changing RT.seqFrom() and seq-iterator to use the new chunking behavior only in sequence and/or with a new chunked-iterator-seq to make it more explicit. The sequence over xf is new so no possible regression there, everything else would just be opt-in. clj-1669-6 is identical to clj-1669-5 but removes two commented out debugging lines that were inadvertently included. Source.