Is this simply to improve readability of the code?
Because all the involved variables are local, there shouldn't be any real performance benefits from doing this.