Could you please explain why this is a speedup?