On 30 May 2013 17:05, Felix S. Klock II <[email protected]> wrote: > On 30/05/2013 05:15, James Miller wrote: >> >> This meant that a fairly simple, standard pass, was being called on over >> 100x more code than it >> needed to be. If you want to know why a full build takes so long, there is >> why. > > Since I've been curious about the build times this week, I thought I'd > experiment with this assertion in a brute force way: compare the times > between a baseline build and a build with every occurrence of > #[inline(always)] replaced with #[inline].
Excellent, I was going to suggest exactly this would make a good automated test for checking whether #[inline(always)] has been applied too liberally in the codebase (perhaps also with the addition of statistics on generated code size). Alex _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
