rust/library/core
bors 5ff8fbb2d8 Auto merge of #124393 - scottmcm:do-the-macros-still-matter, r=joboet
Convert some iter macros to normal functions

With all the MIR optimization changes that have happened since these were written, let's see if they still actually matter.

\*perf comes back\*

Well, it looks like it's not longer relevant for instruction, cycle, nor wall-time perf.  Looks like a bunch of things are maybe 10kb bigger in debug, but some are also 50k *smaller* in debug.

So I think they should switch to being normal functions as the "greatly improves performance" justification for them being macros seems to no longer be true -- probably thanks to us always building `core` with `-Z inline-mir` so the difference is negligible.
2024-04-26 11:16:05 +00:00
..
benches Rollup merge of #115913 - FedericoStra:checked_ilog, r=the8472 2024-04-22 20:25:58 +02:00
src Auto merge of #124393 - scottmcm:do-the-macros-still-matter, r=joboet 2024-04-26 11:16:05 +00:00
tests Stabilise inline_const 2024-04-24 13:12:25 +01:00
Cargo.toml Import the 2021 prelude in the core crate 2024-03-25 13:12:06 -07:00