Skip to content

conversion of recursive functions to iterative implementations. Optimize your Python code by transforming stack-heavy recursion into efficient loops.

License

Notifications You must be signed in to change notification settings

AdilKoken/recursion2loop

recursion2iteration

PyPI version Python Versions License: MIT Python Package

This package provides common recursive patterns to iterative implementations. The goal is to provide stack-safe and memory-efficient iterative implementations in python language.

Features

  • 🔄 Convert recursive functions to iterative implementations
  • 🔧 Type-safe implementations with full typing support

Installation

pip install recursion2loop

Available Transformations

License

This project is licensed under the MIT License - see the LICENSE file for details.

Code of Conduct

This project and everyone participating in it is governed by the Code of Conduct. By participating, you are expected to uphold this code.

Contributing

Your contributions are always welcome! Please take a look at the contribution guidelines.

About

conversion of recursive functions to iterative implementations. Optimize your Python code by transforming stack-heavy recursion into efficient loops.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages