Files
rust/library/alloc/src
Matthias Krüger d16c55d6f6 Rollup merge of #122099 - Urgau:btreemap-inline-new, r=Amanieu
Add  `#[inline]` to `BTreeMap::new` constructor

This PR add the `#[inline]` attribute to `BTreeMap::new` constructor as to make it eligible for inlining.

<details>

For some context: I was profiling `rustc --check-cfg` with callgrind and due to the way we currently setup all the targets and we end-up calling `BTreeMap::new` multiple times for (nearly) all the targets. Adding the `#[inline]` attribute reduced the number of instructions needed.

</details>
2024-03-08 08:19:19 +01:00
..
2024-02-24 16:02:17 +03:00
2023-12-11 23:38:48 +01:00
2023-12-10 10:56:22 +08:00
2024-01-28 18:33:34 +01:00
2023-10-05 18:21:47 -04:00
2024-02-08 07:43:38 -05:00
2023-12-10 10:56:22 +08:00