2017-02-06 15:35 GMT+03:00 Tino Heth via swift-evolution < swift-evolution@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 > choice. > 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 arrays.
_______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution