Performance of checking expanded list equality