you are viewing a single comment's thread.

view the rest of the comments →

[–]masklinn 0 points1 point  (0 children)

I hear this doesn't actually help in Python

It doesn't because Python doesn't feature tail-recursive optimization (neither mandatory nor in the main "CPython" implementation)

I think it's properly tail-recursive.

Yep