Skip to content

perf: interleave_list for List<Primitive> could be optimized? #10022

@mapleFU

Description

@mapleFU

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

interleave_list for Primitive would construct:

  1. Indices extend to interleave arguments
  2. Interleave sub childs

When element is primitive type like F32, (1) might as heavy as (2), causing some performance wasting.

Describe the solution you'd like

Maybe add a benchmark for this, and trying to optimize

Describe alternatives you've considered

no

Additional context

no

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions