Get the latest tech news
The SQLite Amalgamation
Over 100 separate source files are concatenated into a single large file of C-code named "sqlite3.c" and referred to as "the amalgamation". The amalgamation contains everything an application needs to embed SQLite.
Most of these are "source" files in the sense that they are stored in the SQLite version control system and are edited manually in an ordinary text editor. Many compilers are able to do additional optimizations on code when it is contained with in a single translation unit such as it is in the amalgamation. The downside of this is that the additional optimizations often take the form of function inlining which tends to make the size of the resulting binary image larger.
Or read this on Hacker News