On 10/8/16, Jens Alfke <j...@mooseyard.com> wrote:
>
> SQLite is only about 1MB of
> code(?)

See http://sqlite.org/graphs/size-20161009.jpg for a graph of
compiled-binary size using gcc 4.8.4 and -Os on x64 Linux.  Less than
0.5 MB, though to be fair this is without extensions such as FTS5 or
RTREE or JSON.

If you are getting 1MB binaries, then you are probably using -O3 which
does lots of loop unrolling and function inlining and thereby runs up
the library size.  If the library size is really important to you,
maybe you should consider changing to -Os, even if you continue to
using the system SQLite.dylib.

-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to