You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this crate, I had to reimplement core::array::from_fn because it had bad codegen on then-current rustc releases. However, a fix has landed in nightly and should be making its way to 1.69 eventually: rust-lang/rust#108765 .
This raises the question of when it is appropriate to bump the minimal rustc requirement for good codegen, in a crate where runtime performance is the whole point. For the time being, my custom array::from_fn does not harm much and can stay around, but in a couple of years, once rustc 1.67 and 1.68 are old news, I should consider dropping it.
The text was updated successfully, but these errors were encountered:
In this crate, I had to reimplement core::array::from_fn because it had bad codegen on then-current rustc releases. However, a fix has landed in nightly and should be making its way to 1.69 eventually: rust-lang/rust#108765 .
This raises the question of when it is appropriate to bump the minimal rustc requirement for good codegen, in a crate where runtime performance is the whole point. For the time being, my custom array::from_fn does not harm much and can stay around, but in a couple of years, once rustc 1.67 and 1.68 are old news, I should consider dropping it.
The text was updated successfully, but these errors were encountered: