unint32_t vs 16/8?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by tkreyche on Sun Mar 14 21:53:35 MST 2010
Has anyone profiled speed/memory trade-offs of using 32 bit integers vs. 16 bit or even 8 bit on the LPC1114?

I notice that some of the sample code uses uint8_t instead of 32 in certain cases. Obviously this will save a little memory and the LPC1114 doesn't have a lot to spare.

My personal preference is to use 32 bit in nearly all cases - maybe I should change my habits in this case.

thanks, Tom

Original Attachment has been moved to: 1100191_hs_err_pid4614.log.zip