Open Protofall opened 4 years ago
I've been using uint8_t and such for my loops, but it seems thats inefficient due to bit masking. Use ints instead.
uint8_t
int
https://interrupt.memfault.com/blog/best-and-worst-gcc-clang-compiler-flags#comparison-of-for-loop-using-uint8_t-and-int
I should also do this for all my projects that go in-game (Audio API, savefile code, etc)
Make them unsigned int instead
unsigned int
I've been using
uint8_t
and such for my loops, but it seems thats inefficient due to bit masking. Useint
s instead.https://interrupt.memfault.com/blog/best-and-worst-gcc-clang-compiler-flags#comparison-of-for-loop-using-uint8_t-and-int
I should also do this for all my projects that go in-game (Audio API, savefile code, etc)