Skip to content

Commit 7107d0c

Browse files
committed
remove Vector dep on LazySeq
1 parent ceba37b commit 7107d0c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12361,12 +12361,7 @@ reduces them without incurring seq initialization"
1236112361
ISeqable
1236212362
(-seq [coll]
1236312363
(when (> (alength array) 0)
12364-
(let [vector-seq
12365-
(fn vector-seq [i]
12366-
(lazy-seq
12367-
(when (< i (alength array))
12368-
(cons (aget array i) (vector-seq (inc i))))))]
12369-
(vector-seq 0))))
12364+
(prim-seq array)))
1237012365

1237112366
ICounted
1237212367
(-count [coll] (alength array))

0 commit comments

Comments
 (0)