Equality and hashing. Those are used by the test user to avoid unnecessarily recomputing recommendations for multiple Top-N metrics over the same item selectors.