[swift-evolution] Checking in; more thoughts on arrays and variadic generics
darylew at mac.com
Sun Feb 5 15:10:58 CST 2017
> On Jan 27, 2017, at 11:55 AM, Robert Widmann <devteam.codafi at gmail.com> wrote:
> ~Robert Widmann
> 2017/01/26 13:37、Daryle Walker <darylew at mac.com <mailto:darylew at mac.com>> のメッセージ:
>> strideof( ArrayType ) == Element-Count * strideof( ElementType )
>> down to the extent that there shouldn't be any padding between elements of the inner non-array type (in the case of nested arrays).
> Smells like a static ContiguousArray.
More like ContiguousArray is a non-static version of the decades-old classic array concept. An array in a code-block scope shouldn’t have to implement its data in free-store if its size (and shape) can be defined at compile-time.
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution