Issue #3: Remove nested loop by indexing data using `qid` in memory.
Issue #3: Remove nested loop by indexing data using `qid` in memory.

Thanks to focalintent who identified a performance bottleneck. More
information is available at the GitHub.com issue tracker at
https://github.com/meitar/pat-okcupid/issues/3

meitar/pat-okcupid,meitar/pat-okcupid,meitar/pat-okcupid