[swift-evolution] Checking in; more thoughts on arrays and variadic generics
antonyzhilin at gmail.com
Mon Feb 6 09:26:32 CST 2017
2017-02-06 15:35 GMT+03:00 Tino Heth via swift-evolution <
swift-evolution at swift.org>:
> Consider even if we had compile-time constants like Vector<T, size: Int> —
> how would that be implemented? What would its backing-type be?
> Imho it's very simple — UnsafeMutableBufferPointer would be an obvious
And then we just have an Array<T> with static size guarantee. But to solve
the import story and gain space for optimization, we need stack-storage
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution