Why is the same SQLite query being 30 times slower when fetching only twice as many results?
The execution time geometrically proportional to the number of rows in each table rather than arithmetically e.g. 3 tables with 10 rows each => 1,000 comparision 3 tables with 10, 10 and 40 rows => 4,000 comparisons 3 tables with 20 rows each => 8,000 comparisons You could probably re-factor the query to avoid some … Read more