|Perl Monk, Perl Meditation|
Re^3: Evolving a faster filter? (code)by BrowserUk (Pope)
|on Jan 07, 2013 at 11:44 UTC||Need Help??|
Perhaps you missed the significance of the timings:
Running your OP algorithm against a set of 100 filters each carefully arrange to filter an increasing number of objects and ordered best to worst, and running two tests -- optimal and pessimal -- the difference between then is less that 50%. That is the best you can hope to achieve with your order-the-filters mechanism.
However, by altering the way the filters operate upon the objects, you can achieve an order of magnitude saving.
Or perhaps you've just decided how you want to tackle the problem. Regardless...
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.