Sort: reduced stack depth to lg(n) in quickSort
Doing the tail recursion elimination explicitly seems safer than leaving it to the compiler; the code is still clean and easy to understand. R=r, r2, gri CC=golang-dev https://golang.org/cl/3373041
Showing
Please register or sign in to comment