Open
Description
Using nested tuples in this example leads to painfully long compile times:
use rayon::prelude::*;
fn main() {
let vec0 = vec![];
let vec1 = vec![];
let vec2 = vec![];
let vec3 = vec![];
let vec4 = vec![];
let vec5 = vec![];
let vec6 = vec![];
let vec7 = vec![];
(vec0,
(vec1,
(vec2,
(vec3,
(vec4,
(vec5,
(vec6,
(vec7)))))))).par_extend((1u32..10).into_par_iter().map(|n| (n, (n, (n, (n, (n, (n, (n, n)))))))));
}
Metadata
Metadata
Assignees
Labels
Category: An issue highlighting optimization opportunities or PRs implementing suchCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleIssue: Problems and improvements with respect to compile times.Relevant to the compiler team, which will review and decide on the PR/issue.