Pages: [1]   Go Down
Author Topic: Library sizes  (Read 719 times)
0 Members and 1 Guest are viewing this topic.
Canada
Offline Offline
Jr. Member
**
Karma: 0
Posts: 75
I Love Arduino!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Thomas Ouellet Fredericks

Pages: [1]   Go Up
Jump to: