News for hackers. Stuff that matters.
Re:Why Const Doesn't Make C Code Faster by dmitrygr on Tuesday August 20, 2019 @04:38PM (#20751830)
often but not always, for example a function using asm() to access, say, some AES intrinsics is pure (const even) since the output only depends on input, but oftentimes compiler by itself will not declare a function with an asm() block pure or const
Re:Why Const Doesn't Make C Code Faster by einpoklum on Tuesday August 20, 2019 @05:22PM (#20752329)
Well, fair point, but - compilers shouldn't be that lazy :-)