Closed scrosby closed 2 years ago
Using into here lets clojure use a more optimized codepath where it doesn't make persistent collections for the intermediate states. This means less copying and less garbage. (See docs on persistent! and transient)
into
persistent!
transient
Changes proposed in this PR
Why are we making these changes?
Using
into
here lets clojure use a more optimized codepath where it doesn't make persistent collections for the intermediate states. This means less copying and less garbage. (See docs onpersistent!
andtransient
)