/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Which datatype is the fastest to aaccess in C?

Username:     
Password:     
             

Forum

# 1   2009-03-03 19:48:17 Which datatype is the fastest to aaccess in C?

sima
Member
Registered: 2008-12-10
Posts: 16

Which datatype is the fastest to aaccess in C?

Is the u32/s32 data type the fastest to use in STM32 when programming in C?

Are smaller datatypes slower to use?

Offline

 

# 2   2009-03-10 23:30:22 Which datatype is the fastest to aaccess in C?

kubsztal
Member
Registered: 2009-01-27
Posts: 15

Re: Which datatype is the fastest to aaccess in C?

Seems that smaller local types generate bigger code - take a look at page 16:
http://www.evalkits.com/files/LuminaryM … rtexM3.pdf

Offline

 

Board footer