partition-by runs infinite loop when one element of infinite partition is accessed
Port to ClojureScript.
Patch LGTM. It is a little surprising that changing a seq to lazy-seq slows things down so much for the benchmark above. Otherwise the change passes on all of the Canary tests.
Speedups for (simple-benchmark [r (range 100000)] (count (partition-by odd? r)) 10)