Mara Bos 97678b8358
Rollup merge of #78621 - solson:inline, r=m-ou-se
Inline Default::default() for atomics

Functions like `AtomicUsize::default()` are not cross-crate inlineable before this PR ([see assembly output here](https://play.rust-lang.org/?version=stable&mode=release&edition=2018&gist=e353321766418f759c69fb141d3732f8)), which can lead to unexpected performance issues when initializing a large array using this function, e.g. as seen [here](d513996a85/src/histogram.rs (L53)) which should turn into a simple loop writing zeroes but doesn't.

r? @m-ou-se
2020-11-01 11:53:39 +01:00
..
2020-10-26 22:39:43 +08:00
2020-10-05 22:29:07 +08:00
2020-10-31 16:26:06 +01:00
2020-10-26 22:39:43 +08:00
2020-10-31 18:02:55 +07:00
2020-10-28 13:26:44 -04:00
2020-10-26 22:39:43 +08:00
2020-10-05 23:29:43 +08:00
2020-10-20 14:09:01 +10:00
2020-10-27 14:45:36 -03:00