This recursive method seems to be no faster than iterative one, but obviously you declared fewer variables in this way.