about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2019-10-01 23:06:17 -0700
committerGitHub <noreply@github.com>2019-10-01 23:06:17 -0700
commit76fb91be84e93f6d34a428d997e92fcbf4a19f23 (patch)
treeacb49cfb2947597b3fa0ed7ef1416393cd6346ee /src/test/debuginfo/enum-thinlto.rs
parent8f5f92a07a1c3116eae83cbd4ad550f6d268bbe9 (diff)
parent8737061cb59f2563153bdca3d121f40584597426 (diff)
downloadrust-76fb91be84e93f6d34a428d997e92fcbf4a19f23.tar.gz
rust-76fb91be84e93f6d34a428d997e92fcbf4a19f23.zip
Rollup merge of #64885 - andjo403:iter, r=scottmcm
use try_fold instead of try_for_each to reduce compile time

as it was stated in #64572 that the biggest gain was due to less code was generated I tried to reduce the number of functions to inline by using try_fold direct instead of calling try_for_each that calls try_fold.

as there is some gains with using the try_fold function this is maybe a way forward.
when I tried to compile the clap-rs benchmark I get times gains only some % from #64572

there is more function that use eg. fold that calls try_fold that also can be changed but the question is how mush "duplication" that is tolerated in std to give faster compile times

can someone start a perf run?

cc @nnethercote @scottmcm @bluss
r? @ghost
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions