andreasgal/j2me.js — pull request #429 by mcav (2014-10-10 14:54:24+00:00)
Title: Move inline functions out of VM.execute. (Speculative)

This is still speculative -- I haven't yet measured if this actually improves performance. But given that we call VM.execute many times, the JS engine might do a better job optimizing if it doesn't think it needs to redefine those functions every time. At least, if I was a JS engine, that's what I'd want!