Using a multiple column table index

The Multitudes extension seems a bit slow, so I was wondering if I could improve the efficiency of table lookups.

I’m using a 3-column table to simulate a three-way relation. As far as I know, there’s no way to look up a table row with a particular combination of two columns. Is that true? Is it possible to loop over all entries with a particular value in one column, so I don’t have to loop over the entire table to find a particular pair of values?

Any “corresponding” phrase just loops through the whole thing anyway, so even if there were a phrase for two-column lookup, it would still be functionally the same as a repeat loop followed by if…next statements.

If you really need some speed, read this:

I think I’m going to switch from tables to lists. But thanks for reminding me about that thread.