CMSIS-DSP icon indicating copy to clipboard operation
CMSIS-DSP copied to clipboard

While loop replaced by for loop

Open christophe0606 opened this issue 3 years ago • 0 comments

https://github.com/ARM-software/CMSIS_5/pull/779

CMSIS-DSP is using while loop with decrementing counter.

For compiler point of view, it may be easier to use for loop and array indexing.

This is also related to this other github issue about pointer indexing : https://github.com/ARM-software/CMSIS-DSP/issues/20

Unfortunately, those changes are highly compiler dependent and not always giving more performant code.

christophe0606 avatar Jun 30 '22 06:06 christophe0606