As an aside, thousands of objects do not normally come into being instantaneously or en masse; but rather come into being over time.
As your filters are static for any given run of the program, why not pass them through the filters at instantiation time and set a flag? (And perhaps re-run it any time one of the filtered attributes changes.)
Then when you need the filtered subset, you only need a single boolean test for each object.
In reply to Re: Evolving a faster filter?
by BrowserUk
in thread Evolving a faster filter?
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |