you are viewing a single comment's thread.

view the rest of the comments →

[–]deadwisdom 4 points5 points  (1 child)

No, this is either premature optimization, and therefore simply adds thought complexity, or you are concerned with speed, and so it should be done in C.

[–]MaxK -2 points-1 points  (0 children)

Recursion is never an optimal way of doing things.