Commit Graph

3 Commits

Author SHA1 Message Date
Dmitri Hrybenko
0af19e7ff3 stdlib: use unsafeBitCast to implement map() and filter() on top of lazy()
Array(other_collection) is using an optimized code path for copying
collections.  An explicit for loop does not.

This commit should recover the performance regression in
rdar://20530390.

Swift SVN r27313
2015-04-15 05:17:27 +00:00
Dmitri Hrybenko
c4b82718d5 stdlib: correct comment
Swift SVN r27312
2015-04-15 05:17:20 +00:00
Dmitri Hrybenko
6e09dad1e6 stdlib: move sequence and collection algorithms to topic-centered files
Swift SVN r27273
2015-04-14 07:03:49 +00:00