I am sure some people have a sense of humor, but anyone on this forum who
actually does not have some idea of what various "tree" data structures are
in computer science, probably won't get any replies from me when asking such
questions.
But indeed there are things closer to classical trees that a
On Friday, December 31, 2021 at 4:18:28 PM UTC+8, Marco Sulla wrote:
> It was already done: https://pypi.org/project/tail-recursive/
A few days ago, I also noticed another similar project:
https://github.com/baruchel/tco
It seems that they are very similar, even identical. But I'm not sure, so I
On Friday, December 31, 2021 at 7:17:18 PM UTC+8, hongy...@gmail.com wrote:
> On Friday, December 31, 2021 at 4:18:28 PM UTC+8, Marco Sulla wrote:
> > It was already done: https://pypi.org/project/tail-recursive/
> A few days ago, I also noticed another similar project:
> https://github.com/baruc
在 2021年12月30日星期四 UTC+8 03:13:21, 写道:
> On Wed, 29 Dec 2021 at 18:33, iMath wrote:
> > But I found the size of the file of the shelve data didn't change much, so
> > I guess the data are still in it , I just wonder any way to recover my data.
> I agree with Barry, Chris and Avi. IMHO your data is
Am Thu, Dec 30, 2021 at 03:57:25PM -0800 schrieb hongy...@gmail.com:
> > > Then what cases/scenarios can demonstrate the beauty of recursion?
> > >
> > Walking a tree.
>
> There are many type of trees. Do you mean all of them?
Palm trees don't lend themselves to recursion all that much.
Karsten
It was already done: https://pypi.org/project/tail-recursive/
On Thu, 30 Dec 2021 at 16:00, hongy...@gmail.com wrote:
>
> I try to compute the factorial of a large number with tail-recursion
> optimization decorator in Python3. The following code snippet is converted
> from the code snippet giv