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

  • miscellaneous_tips/20_software_development/implications_of_pure_and_constant_functions.txt
  • Zuletzt geändert: 2021-01-18 17:20
  • (Externe Bearbeitung)