What would be a performant way to get entities with multiple components with the current implementation?