Skip to content

[C++][Compute] Avoid unnecessary work for empty chunked take indices #55956

Backlog

Description

@Sumdiboii

Describe the enhancement requested

When take is called with chunked values and an empty chunked indices array, the operation can still do unnecessary work preparing the values, even though there are no indices to process. This adds avoidable overhead for an empty selection.

It would be useful to handle this case efficiently while preserving the expected empty result.

Component(s)

C++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions