Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Is there a way to increase the maximum recursion depth in python 3 and run faster a recursive function

Is there a way to increase the maximum recursion depth in python 3? And if the answer is yes how can i know the maximum recursion depth ?

Is there a way to run faster a recursive function (increase his execution speed)? For exemple by running it on the graphic card.

I know there is a similar question that had allready been asked here for exemple:
How could you increase the maximum recursion depth in Python?
But the topic is more than 5 years old so i wanted to get a more update answer.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Thank for your help.

>Solution :

found an good article on increasing speed for recursive functions , see below if it can help you

https://circleoncircles.medium.com/python-recursive-function-and-various-speedup-a19312e7cf06

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading