everyone knows about -funroll-loops and -funsafe-math-optimizations, but the real winner here is posix_fallocate
Also lots of crap applications use sqlite not for valuable data but just cache junk, in which case performance matters and throwing away a corrupt db is no big deal.
-
-
They would need to discard it when starting up with the assumption that it's corrupt if they've disabled all the consistency / integrity guarantees. They could also just not use tons of transactions or use WAL mode with a database connection left open. It performs well enough.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.