bytecode-optimizer

A bytecode optimizer for python


Keywords
bytecode, optimizer, speed, bytecode-manipulation, python3, pythontools
License
MIT
Install
pip install bytecode-optimizer==0.1.1

Documentation

BytecodeOptimizer

This library provides methods to optimize your code automatically.

Usage

# __future imports above here
from bytecode_optimizer import enable
enable()
# all other imports and code below here

Note that it will not optimize any code in the current scope, only imported code.