Monday, August 4, 2014

Comparing Library Size

    When size of the file was an issue as we were over 1000 bytes than the complicity of the nano, I had compared the total compile size of libraries in a blank Arduino environment.


What became obvious was that the total size did not depend on the actual size of the library - as there is no way 3 libraries is the same, exact size as two libraries. This leads me to presume that Arduino fetches the required used methods inside libraries and the beginning bytes shown in the images are the result of importing or observing the use of the libraries but not actually importing the files. Further testing is needed to prove this.

No comments:

Post a Comment