I'd suggest creating temporary copies of one or both of your tables in an SQLite In-memory DB.
If you really need more performance than that gives you; and if your select queries are sufficiently predictable that you could pre-index the smaller table, that might be worth thinking about.
In reply to Re^3: Creating SELECT-like look-up tables as hashes
by BrowserUk
in thread Creating SELECT-like look-up tables as hashes
by loris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |