Skip to content

Add type stable selectdim(x, ::Val, ...) overload #46215

@ToucheSir

Description

@ToucheSir

This has come up a couple of times, most recently at https://discourse.julialang.org/t/type-stability-in-function-involving-selectdim/85009. Since selectdim is often used on/near hot code paths as a higher-level view generator, the downstream impact of any instability can be significant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions