Stefan Monnier schrieb am Mo., 1. Mai 2017 um 15:01 Uhr: > > Replacing a primitive value with a struct containing such a value > > should never degrade performance; that would be a compiler bug. > > FWIW, No, compilers do not guarantee that semantically-equivalent > programs will be compiled to code with equivalent performance, so it > wouldn't be a bug. It's only a "quality of implementation" issue. > Yes, I mean "bug" in a wider sense that includes QoI issues.