<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><blockquote type="cite" class="">On May 24, 2016, at 5:45 PM, Haravikk via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:<br class=""></blockquote><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><div class=""><blockquote type="cite" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="">On 24 May 2016, at 21:14, Leonardo Pessoa <<a href="mailto:me@lmpessoa.com" class="">me@lmpessoa.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">My first question here would be "what's the gain?" I understand<br class="">CollectionTypes and arrays may be something different but I myself<br class="">admit I don't know and wonder how that change would be a benefit to<br class="">us?</div></blockquote><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"></div><div class="">Instead of functions only accepting an Array, which is a specific type, they would accept any collection type, including all the lazy collections.</div></div></div></div></blockquote></div><br class=""><div class="">Among other things, one practical advantage of this is that since ArraySlice conforms to CollectionType, one could simply subscript an array if they wanted to send only a subset of its contents to a method, without having to incur the performance cost of creating a new array.</div><div class=""><br class=""></div><div class="">Charles</div><div class=""><br class=""></div></body></html>