During my performance tests I found out the the SQLite version which Apple provides on the iPhone 3.0 is significantly faster then my self compiled amalgamation SQLite versi
It looks like the only different in the pragma settings is the cache_size which is default 2000 but on the iPhone it is 500.
On some systems it's possible to get read the compiler setting with this: objdump --full-contents --section .GCC.command.line