Performance of structs with incompletely parameterized fields

You could add also the dimension as a type parameter to the wrapping type, that way you’d have both performance a d flexibility.