Skip to content

A<B<C...; slow #2131

@guwirth

Description

@guwirth

Parsing of the below rare use case is still slow. (leftover #1685)

still slow:

void f() {
   ss < a < b < c < d < e < f < g;
}

fast:

using List= TypeA<A, TypeB<B, TypeC<C, TypeD<D, TypeE<E, TypeF<F, TypeG<G, TypeH<H, I>>>>>>>>;

void f1() {
   ss << a << b << c << d << e << f << g;
}

void f2() {
   TypeA<A, TypeB<B, TypeC<C, TypeD<D>>>>;
}

void f3() {
   TypeA<A, TypeB<B, TypeC<C, TypeD<D;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions