DescriptionSort: 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.
Patch Set 1 #Patch Set 2 : code review 3373041: Sort: reduced stack depth to lg(n) in quickSort #
Total comments: 1
Patch Set 3 : code review 3373041: Sort: reduced stack depth to lg(n) in quickSort #MessagesTotal messages: 8
|