Skip to content

[Rust] Create a way to slice unalligned offset buffers #26062

@asfimport

Description

@asfimport

We have limitations on the boolean kernels, where we can't apply the kernels on buffers whose offsets aren't a multiple of 8. This has the potential of preventing users from applying some computations on arrays whose offsets aren't divisible by 8.

We could create methods on Buffer that allow slicing buffers and copying them into aligned buffers.

An idea would be Buffer::slice(&self, offset: usize, len: usize) -> Buffer;

Reporter: Neville Dipale / @nevi-me
Assignee: Jörn Horstmann / @jhorstmann

PRs and other links:

Note: This issue was originally created as ARROW-10040. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions