This repository was archived by the owner on Dec 5, 2019. It is now read-only.
This repository was archived by the owner on Dec 5, 2019. It is now read-only.
Use block-based enumeration to convert NSArrays to Seqs #10
Open
Description
Blocked on issue #1.
Right now, a Seq
is created from an NSArray
by repeatedly invoking objectAtIndex:
against the latter. Because objectAtIndex:
may have O(log n) execution time, this effectively means that creating the Seq
is O(n log n). We should use block-based enumeration instead, which will probably be closer to O(n).