[Date Prev][Date Next]
Re: Possible optimization
On Wed, Dec 01, 1999 at 02:36:47PM -0800, David Boreham wrote:
> 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).
Good point. The next challenge is obviously to decide if there is a single
'right' number or whether a dynamic approach is in order, possibly depending
on the size of your database.
+---------------+ | http://www.rent-a-nerd.nl
| nerd for hire | |
+---------------+ | - U N I X -
| | Inspice et cautus eris - D11T'95