You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since zeros are a valid value for any ByteValued type, we can use
that instead of relying on a Default implementation (which may not be
auto-derivable for some array types).
Further optimizations would be possible if we would have access
to a pointer value into the source data. Then we could also use
ptr::copy_nonoverlapping and avoid pre-initialization altogether. But
changing the API just for that seems a bit excessive.
Signed-off-by: Erik Schilling <[email protected]>
0 commit comments