Performance improvement when selecting a big number of objects