i still don't know this STM32H735 ARM processor manages to take 225 cycles to compute a single iteration of this loop.
the call to polyBlep() isn't a significant part of the cost because removing it doesn't dramatically impact the performance.
@lore This will probably be a stupid suggestion (after all, I am pretty stupid), but have you translated that code to assembly in order to see what the compiler is actually doing to it?
@josemanuel i'm tempted to have a look, to see what it's doing, yes.
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.
@josemanuel i'm tempted to have a look, to see what it's doing, yes.