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:

sizes3.gif

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:

sizes1.gif

Attachments:

  • 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.