OCTotallyLazy icon indicating copy to clipboard operation
OCTotallyLazy copied to clipboard

Performance of Sequence vs NSArray

Open johnthuss opened this issue 12 years ago • 1 comments

Has there been any work done to document any performance improvements to be had by using Sequence instead of NSArray, or more generally how the two collections compare for common operations?

Thanks, this looks like a great project.

johnthuss avatar Oct 16 '12 21:10 johnthuss

Hi John,

No performance comparisons as of yet. There is unlikely to be any real improvement unless applying a map to the collection - as the sequence is backed by a raw enumerable type (which by default is just an NSArray).

Cheers Stuart

stuartervine avatar Oct 17 '12 09:10 stuartervine