Skip to content
This repository was archived by the owner on Nov 28, 2023. It is now read-only.

shogidude/python_tail_call_optimized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python @tail_call_optimized

Fast infinite tail call recursion for python.

This decorator implementation was thrown together with the help of ChatGPT 4. The code for finding the largest factor was mine, and I didn't like the recursion limits of Python, so added the @tail_call_optimized decorator that I had ChatGPT 4 write.

I know I'll want to use this in other projects, so I'm saving the example here for myself and anyone else who wants to use it.

Archived

This repo is for reference, only. I don't expect to make any changes to it. It is set to read-only.

About

Fast infinite tail call recursion for python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages