diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-06-16 20:11:56 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-06-16 20:11:56 -0700 |
commit | f1d5b79982f02c62539da2505cb8a4cd402d4969 (patch) | |
tree | 1cfa8562050f401aff82c573cb3060b9b8805440 /src/til_setup.c | |
parent | deb98475a01a5e62d39109e9b703b567612260da (diff) |
modules/moire: lose unnecessary branch in inner loop
I had benchmarked this change and it showed no difference at all
on my 2c/4c i7 X230.
But having just tried it on an RPi4B where it moved the test case
from 54FPS to 60FPS, a +10% improvement, it's worth the
readability loss.
It's interesting how Intel's cleverness discourages optimizing in
ways that benefit probably *all* the competition... even when the
optimization is such a minor change in terms of effort.
Diffstat (limited to 'src/til_setup.c')
0 files changed, 0 insertions, 0 deletions