Crypto
Crypto copied to clipboard
Enable library compilation as .a instead of providing separate objects to the linker
This enables finer optimizations by the linker when integrating this library in an executable that doesn't necessarily use all of its features. Without this flag, some statically allocated class instances, e.g. RNG, will take up space even when not used, although the executable might have been compiled with space optimization enabled and garbage collection for data sections. This reduction of memory usage can be quite significant in standard arduino platforms (e.g. 328p).