OCTotallyLazy
OCTotallyLazy copied to clipboard
Performance of Sequence vs NSArray
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.
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