Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

Use .fromArray for consistency/speed when handling zeroed IndexedSeqs.

Use reduce as the default construction path to take advantage of reducible collections.

4 Answers

0 votes
by

Comment made by: rohitaggarwal

(link: ~tmulvaney), could you provide some benchmarks for the speed assertion? It would be nice to run it on Chrome/Firefox/Safari.

0 votes
by

Comment made by: tmulvaney

Sure thing, I'll do some more benchmarks.

0 votes
by

Comment made by: mfikes

Patch no longer applies; needs re-baseline.

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJS-1784 (reported by tmulvaney)
...