After reading the patch that introduced the byte code compilation it seems what I was hoping to use it for are clearly not goals of the project: <a href="https:&#x2F;&#x2F;bugs.ruby-lang.org&#x2F;issues&#x2F;11788" rel="nofollow">https:&#x2F;&#x2F;bugs.ruby-lang.org&#x2F;issues&#x2F;11788</a>