Implications of pure and constant functions

pure and const are function attributes supported e.g. by gcc and icc which provide the compiler with more detailed characteristics of a particular function, so the compiler can better optimize the resulting code. An nice explanation can be found here:


Martin Burnicki martin.burnicki@burnicki.net 2018-11-02