Hello-
I am surprised how much the size of compiled sketches varies using different releases of the Maple IDE. Here is the sketch along with the sizes of the compiled sketches (created using a Windows XP SP3 system) included as comments:
// Maple Rev 3 (Windows XP SP3)
//
// size of compiled file
//
// 11552 bytes using IDE 0.0.6 (RAM)
// 9552 bytes using IDE 0.0.7 (RAM)
// 11120 bytes using IDE 0.0.8 (RAM)
// 10832 bytes using IDE 0.0.9 (RAM)
// 10696 bytes using 2011-02-13 snapshot (RAM)
// 12504 bytes using 2011-03-17 snapshot (RAM)#include <string.h>
void setup()
{
}void loop()
{
delay(1000);if (strcmp("hello", "hello") == 0)
{
SerialUSB.println("hello matches");
}
}
Should I be surprised by this amount of variation? A 20% decrease (going from 0.0.6 to 0.0.7) or a 20% increase (going from 0.0.9 to the 2011-03-17 snapshot) seems like a lot to me.
Thanks!
Stephen from NYC (full disclosure: I am not a member of the LeafLabs staff)