For many years, we have boasted that the size of the SQLite library is "less than half a megabyte". That will likely still be true in the 3.24.0 release, though just barely. Compiling with gcc 5.4.0 and -Os on ubuntu, I get 499,709 bytes. With gcc 7.1.0 and -Os I get 496,399 bytes.
The library is, of course, larger if you enable optional features such as full-text search and/or use compiler optimizations like -O3 which enable loop unrolling and function inlining. And most people do compile it that way. So "less than a megabyte" might be a more accurate description of SQLite in practice. But the default configuration compiled with -Os is a good metric for comparison. See https://sqlite.org/tmp/size-20180531.jpg for the library size trend over 5 years. The measurements in the graph were done with gcc 5.4.0 and -Os on ubuntu. As you can see, we have held the line below 500,000 bytes for a long time. But the recent addition of new features (ex: UPSERT) has caused a slight uptick in the library size. As further new features are in the pipeline, the upcoming 3.24.0 release will probably be the last for which the library size comes in at less than 500,000 bytes. For this reason, I will probably change the size bullet point to say "less than 500 kibibytes (KiB)" or "less than 0.5 mebibytes (MiB)", as "less than 600KB" does not have quite the same emotional impact. You will notice that the graph linked above is calibrated in mebibytes. -- 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