Re:Why Const Doesn't Make C Code Faster
by SomeOldThrow on Monday August 19, 2019 @07:39PM
(#20742694)
This means you can't re-order the computation, though, or memoize it—at least not the the extent it's possible without IO.
[ Parent
| on HN ]
The use of the debug {} block in D is opt-in e.g. the compiler only includes those statements when given the debug flag
https://d.godbolt.org/z/Rwu4Cq (remove "-d-debug" to see)