RubyGems Navigation menu

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:

  1. 0.0.0 April 24, 2026 (81.5 KB)

Runtime Dependencies (1):

prism ~> 1.2

Owners:

Pushed by:

Authors:

  • Samuel Giddins

SHA 256 checksum:

=

Total downloads 149

For this version 149

Version Released:

License:

MIT

Required Ruby Version: >= 4.0

New versions require MFA: true

Version published with MFA: true

Links: