[swift-evolution] Yet another fixed-size array spitball session

Pavol Vaskovic pali at pali.sk
Tue May 30 05:25:26 CDT 2017


On Tue, May 30, 2017 at 7:51 AM, David Sweeris <davesweeris at mac.com> wrote:

>
> `(Int, Int, Int, Int)` isn't *that* horrible compared to "[Int x 4]", but
> would you want to replace "[Int8 x 10000]" with the multipage-long tuple
> equivalent?
>

😳
It would be really helpful to my understanding, if you spoke about a
practical use case. This reads as a contrived counterexample to me…

If your type really has 10 000 values in it, why does it have to be static,
why doesn't normal Array fit the bill?

--Pavol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170530/a2f15aba/attachment.html>


More information about the swift-evolution mailing list