View Single Post
Old 09-19-2008, 10:41 PM   #698 (permalink)
Magister
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 212

Titine - '13 Hyundai Sonata Hybrid
Thanks: 3
Thanked 10 Times in 8 Posts
Quote:
Originally Posted by dcb View Post
FYI, I don't think the new AVR likes unsigned longs so much, I let the arduino.cc folks know this as well:

when I global replace unsigned long to unsigned int

0012 goes from 16772 to 11934 which is 4838 bytes difference

0011 goes from 14104 to 10762 which is a 3342 byte difference

So that is a 1500 byte difference just from that change. Of course it isn't useable like that, just trying to see where it went.
It may come from all the casting and conversion needed for comparison, arithmetic, etc.

I am using a lot of unsigned long and a lot of bytes, and I try to not mix them, only match them.
__________________
2013 Hyundai Sonata Hybrid
  Reply With Quote