Small. Fast. Reliable.
Choose any three.
If you look at the machine code generated for SQLite version 2.8.9 by GCC (with full optimization) the relative sizes of the various subsystems within SQLite break out something like this:


If you are looking to reduce the size of the library, the place to start should probably be the code generator, since that one component uses over 1/3rd of the space. The code generator breaks down as follows:



  • sizes3.gif 4279 bytes added by drh on 2004-Jan-06 04:23:43 UTC.
  • sizes1.gif 5475 bytes added by drh on 2004-Jan-06 04:24:07 UTC.