]> git.tdb.fi Git - ext/subsurface.git/commit
Turn tail recursion back into a loop
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Sep 2011 23:38:22 +0000 (16:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Sep 2011 23:38:22 +0000 (16:38 -0700)
commit11641095ae36518e801109a8f1d8273110f200b8
tree08b26508e8d54b2a5fbaa1caba8f17e9c3b47ebf
parent95a051e16410f95e936bd6746b4cf9775ab81773
Turn tail recursion back into a loop

I still think there should be some way to partition the space
automatically, but the algorithm that worked best was the simple
tail-recursive one.

Which might as well be expressed as a loop.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
profile.c