optimize 0.0.0
Optimize is an ahead-of-time YARV bytecode optimizer for CRuby. It decodes iseq binaries into an in-memory IR, runs a configurable pipeline of passes (constant folding, inlining, dead-stash elimination, arithmetic reassociation, and others) under a narrow contract that the program's hot path respects, and re-emits an optimized iseq. Intended as a demo and an experiment, not a production compiler.
Gemfile:
=
install:
=
Versions:
- 0.0.0 April 24, 2026 (81.5 KB)
Runtime Dependencies (1):
prism
~> 1.2