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
{{ message }}
Repository navigation
Add API to avoid allocations when using ArrayData::slice() on owned ArrayData #9140
The idea is that calling ArrayData::slice() creates a new array data (needs to allocate a Vec for the new child buffers). For some cases, the caller owns the ArrayData and thus could simply reuse the allocation by taking it as owned
Something like
implArrayData{/// Like Self::sliced, but takes an owned self, and reuses the allocations, making it more efficient fnsliced(self,offset:usize,len:usize) -> Self{
...}}
Activity
kiran-4444 commentedon Mar 16, 2026
take
memosmorgan commentedon Oct 7, 2026
take
Add `ArrayData::sliced` to avoid allocations when slicing owned Array…