| ▲ | JoshTriplett 8 hours ago | |
I was utterly unconvinced that the original infinite-loop UB gave the compiler any important performance optimization, and I'm unconvinced that this is providing useful value to compensate for its surprise. If I wanted a yield in my infinite loop, I'd add one. | ||
| ▲ | mitxela 2 hours ago | parent [-] | |
The original UB was to allow the compiler to merge two loops without proving termination. | ||