in reply to Speeding up data lookups
For example, if your queries are all for ranges of records in your file, you could index which queries start and stop at which records, then inspect each record, see if any queries should start or stop on that record, then send it to all active queries. I'm sure real life won't be so simple, but you get the idea.
|
|---|