Skip to content

[FEA]: Improve compile times of tuple and pair #10846

Description

@miscco

Is this a duplicate?

Area

libcu++

Is your feature request related to a problem? Please describe.

Compile time analysis of our own CI and external projects like MatX and the rapids libraries shows that tuple and pair are the most expensive types to compile.

While they are relatively simple, there are a lot of SFINAE checks to be done for the various constructors.

We should investigate different techniques, to reduce compile time overhead of tuple and pair

Describe the solution you'd like

Investigate more early returns and using static functions of a struct rather than global inline variables

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    In Review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions