> > I've filed a bug report for that: > http://jira.codehaus.org/browse/JRUBY-4263 > > > > Another possibility I was hoping to get some good results was to use > > pre-compiled rb files into classes. But that turned out even worse > > performance (10x worse or so): > > > > http://jira.codehaus.org/browse/JRUBY-4273 > > We used to have serialized AST files and they were about 5-10% faster > than our old parser (which was 2-3 times slower than our current > parser when warm). Serialization could be a good idea, but from some > experimentation it does not make a big difference. >
When we get to the new IR-based interpreter, also worth experimenting with is reading in the IR directly (equivalent to reading in .s files or .o files even). -S.