Newbie question about ‘short’ and ‘uint16_t’ data types
I’m trying to make my code as fast as possible on my newly purchased Blue PillBlue PillDevelopment and computing boards…as become my new favorite board. I am calling it “blue pad” and it is kind of super “ blue pill ”. Pito Thu Jul 27, 2017 8:53 pm [victor_pv – Thu Jul 27, 2017 3:58 pm] – Just for…View in hardware catalog .
I was wondering . . .
Since the CPU is a 32-bit device, is there any particular speed advantage (or other possible advantage) of using the ‘short’ and ‘uint16_t’ data types that use two bytes instead of four, please? Would Maths with these smaller data types be any faster on these 32-bit devices?
Thank you
Ken
P.S. I did a Google search and also searched this forum, but couldn’t find an answer.
