On Sat Aug 12 14:32:10 2023 +0000, Bartosz Kosiorek wrote:
I will create separate PR for that.
I expect that any decent compiler is going to move the calculation out of the inner loop, so this won't make any change in performance. Doing micro-optimizations at the C level is usually a waste of time.