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
collections: make slices handle zero-length data (#1095)
- Treat zero-length inputs as _z_slice_null() so callers can always call
_z_slice_copy() without special cases for zero-length input.
Same for _z_slice_n_copy when len == 0.
- Make _z_slice_init() and _z_slice_eq() treat zero-length slices as valid
values.
0 commit comments