fatoptimizer¶
fatoptimizer
is a static optimizer for Python 3.6 using function
specialization with guards. It is implemented as an AST optimizer.
Optimized code requires the fat module at runtime if at least one function is specialized.
Links:
- fatoptimizer documentation (this documentation)
- fatoptimizer project at GitHub (code, bug tracker)
- fatoptimizer project at the Python Cheeseshop (PyPI) (download releases)
- FAT Python
- fatoptimizer tests running on the Travis-CI
The fatoptimizer
module requires a Python 3.6 patched with PEP 510
“Specialize functions with guards” and PEP 511 “API for code
transformers” patches.