Commit Graph

8 Commits

Author SHA1 Message Date
Jubilee Young 475dd697a5 Remove array_zip
`[T; N]::zip` is "eager" but most zips are mapped.
This causes poor optimization in generated code.
This is a fundamental design issue and "zip" is
"prime real estate" in terms of function names,
so let's free it up again.
2023-05-30 00:40:39 -07:00
Ben Kimock 489d8b77ef Permit MIR inlining without #[inline] 2023-04-07 15:46:43 -04:00
Nikita Popov 0e3e11f219 Increase array size in array-map.rs
Make sure that the loop is not fully unrolled (which allows
eliminating the allocas) in LLVM 16 either.
2023-03-22 09:30:37 +01:00
Nikita Popov d183079af4 Revert "Auto merge of #107224 - nikic:llvm-16, r=cuviper"
This reverts commit 1bfec54579, reversing
changes made to f680fb7fa3.
2023-03-18 23:49:24 +01:00
Nikita Popov 8f0c931f4f Increase array size in array-map.rs
Make sure that the loop is not fully unrolled (which allows
eliminating the allocas) in LLVM 16 either.
2023-03-17 09:43:24 +01:00
Scott McMurray 8921df1294 Allow canonicalizing the array::map loop in trusted cases 2023-02-04 16:44:51 -08:00
Scott McMurray ab95f3eba1 Stop forcing array::map through an unnecessary Result 2023-02-04 16:41:35 -08:00
Scott McMurray c4cf77228b Stop using into_iter in array::map 2023-02-04 16:41:35 -08:00