summaryrefslogtreecommitdiff
path: root/src/modules/sparkler/particles.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-06-16 20:11:56 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-06-16 20:11:56 -0700
commitf1d5b79982f02c62539da2505cb8a4cd402d4969 (patch)
tree1cfa8562050f401aff82c573cb3060b9b8805440 /src/modules/sparkler/particles.c
parentdeb98475a01a5e62d39109e9b703b567612260da (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/modules/sparkler/particles.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved