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
Use cursor copies for PiecewiseSequence slices (#8832)
## Summary
- add a shared checked cursor-copy helper for PiecewiseSequence slice
gathering
- replace `extend_from_slice` in the primitive, decimal, VarBinView, and
VarBin PiecewiseSequence consumers
- keep the safety checks explicit: each copy verifies the destination
cursor range against the declared output length and capacity, and
callers verify the final cursor before `set_len`
## Validation
- `cargo +nightly fmt --all`
- `cargo clippy -p vortex-array --all-targets --all-features -- -D
warnings`
- `cargo bench -p vortex-array --bench listview_rebuild`
- `cargo bench -p vortex-array --bench cast_decimal`
- `cargo test -p vortex-array piecewise_sequence`
---------
Signed-off-by: Daniel King <dan@spiraldb.com>
Signed-off-by: "Robert" <robert@spiraldb.com>
Signed-off-by: Robert Kruszewski <github@robertk.io>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Robert Kruszewski <github@robertk.io>
0 commit comments