Go Down

Topic: Library sizes (Read 867 times) previous topic - next topic

tof

I made some tests. I wrote code direclty in the IDE window, I get 5440 bytes total size.
If I make a library out of it and instantiate the class in the IDE window the code grows 200 bytes.
If I preinstantiate an instance in the library, I save 100 bytes.
Wtf?
What is that 100-200 extra bytes anyway?
Anyone have any other tips on how to make libraries smaller?
Can I make a C library instead?

Tom
Thomas Ouellet Fredericks

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy