@Wesley Wiser I remember something about generic functions not getting much out of the const propagator. We have loads of early aborts in the presence of generics: https://github.com/rust-lang/rust/blob/37ff5d388f8c004ca248adb635f1cc84d347eda0/src/librustc_mir/transform/const_prop.rs#L397
After https://github.com/rust-lang/rust/pull/61041 we should be in a much better position to start looking into optimizing generic functions again
Oh very cool!
I'm working on trying to get the
Len operand to const prop right now