those changes has a O(N) effect on performance, why is it better.