Skip to content

paultag/byteme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python TCO

An implementation of tail-call optimization in Python, by @lohmataja, @paultag, and @akaptur.

The make_tail_recusive decorator replaces the code object of the function that it decorates. The original bytecode is modified to remove CALL_FUNCTION bytes and replace them with jumps to the top of the bytecode.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages