Skip to content

Evaluate Using Interleave Kernel for Zip #5097

Closed

Description

@tustvold

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Currently the zip kernel makes use of MutableArrayData. This will work well when the mask contains long runs of true or false values, and when the inputs are not scalar.

Describe the solution you'd like

It is conceivable that constructing an input for the interleave kernel is always faster, but it is also possible a hybrid approach that does the following might be possible:

  • Count bits in mask
  • If less than some threshold set or unset use MutableArrayData
  • Otherwise use interleave kernel

This will involve writing good benchmarks to assess the impact of any change

Describe alternatives you've considered

Additional context

Activity

  1. Jo2234 commented on Jul 18, 2026

    @Jo2234
    Contributor

    take

  2. added a commit that references this issue on Aug 29, 2026
    34b49ef
  3. added a commit that references this issue on Sep 2, 2026
    e603a68
  4. added 3 commits that reference this issue on Sep 18, 2026
    c0aa2f9
    1799260
    2de75bb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions