Skip to main content
ugly typos fixed
Source Link
Doc Brown
  • 220.6k
  • 35
  • 410
  • 625

Ok to be clear I know that the compiler and archaturearchitecture of a processor also have a role to play in this. ButBut this is more of a can it"can it" rather then a does it"does it" question.

I have already tried to research in to this, but all iI could find out is that int16_tint16_t and int8_tint8_t are used for the times where uyou need a precise size in the length of the data.

But what I want to know is, can a int16_tint16_t put less strain on say a 80Mhz micro processor and increase proformance thenperformance than an int orint. Or is it most likely just going to preformperform the same?

Ok to be clear I know that the compiler and archature of a processor also have a role to play in this. But this is more of a can it rather then a does it question.

I have already tried to research in to this but all i could find out is that int16_t and int8_t are used for the times where u need a precise size in the length of the data.

But what I want to know is can a int16_t put less strain on say a 80Mhz micro processor and increase proformance then an int or is it most likely just going to preform the same?

I know that the compiler and architecture of a processor also have a role to play in this. But this is more of a "can it" rather then a "does it" question.

I have already tried to research this, but all I could find out is that int16_t and int8_t are used for the times where you need a precise size in the length of the data.

But what I want to know is, can a int16_t put less strain on say a 80Mhz micro processor and increase performance than an int. Or is it most likely just going to perform the same?

Source Link

Can int16_t be easier on the processor then int?

Ok to be clear I know that the compiler and archature of a processor also have a role to play in this. But this is more of a can it rather then a does it question.

I have already tried to research in to this but all i could find out is that int16_t and int8_t are used for the times where u need a precise size in the length of the data.

But what I want to know is can a int16_t put less strain on say a 80Mhz micro processor and increase proformance then an int or is it most likely just going to preform the same?