From: Eric Wong (Contractor, The Linux Foundation) Date: Mon, 2 Apr 2018 00:04:56 +0000 (+0000) Subject: over: speedup get_thread by avoiding JOIN X-Git-Tag: v1.1.0-pre1~73 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=5a44b89fd9f4ef2688b91262736b0f61095ae99c;hp=5a44b89fd9f4ef2688b91262736b0f61095ae99c;p=public-inbox.git over: speedup get_thread by avoiding JOIN JOIN operations on SQLite can be disasterously slow. This reduces per-message pages with the thread overview at the bottom of those pages from over 800ms to ~60ms. In comparison, the v1 code took around 70-80ms using Xapian on my machine. ---