[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Possible optimization



> Now, it appears to me that once you have found *1* candidate, it must be it,
> and further index_read()ing can stop.

You might find that it's worth ceasing the search at a number larger
than 1. (because filter testing the entries could be cheaper than performing
many more index lookups).