Re:Why Const Doesn't Make C Code Faster
by einpoklum on Tuesday August 20, 2019 @02:37AM
(#20744335)
Isn't that erroneous, in the sense that printf() has side-effects, breaking the "pure" promise?
[ Parent
| on HN ]
Re:Why Const Doesn't Make C Code Faster
by WalterBright on Tuesday August 20, 2019 @04:42AM
(#20744892)
Indeed it does break the pure promise. But it's only for debugging builds.