Another difference between Swift and Rust is that Swift doesn't always monomorphize, so tolerating zero strides would incur an extra dynamic check on every unspecialized array iteration.
5 Likes
Another difference between Swift and Rust is that Swift doesn't always monomorphize, so tolerating zero strides would incur an extra dynamic check on every unspecialized array iteration.