4 ms·
You are probably talking about threaded code which is described in "The Structure and Performance of Efficient Interpreters" http://www.jilp.org/vol5/v5paper12
by anon_comenter9 15y ago
You are probably talking about threaded code which is described in "The Structure and Performance of Efficient Interpreters"
http://www.jilp.org/vol5/v5paper12.pdf http://www.jilp.org/vol5/v5paper12.pdf
With real code examples
- lobster_johnson 15y agoThanks, that's an interesting paper. I have never heard of that paper, I'm thinking specifically of a VM that implemented the feature. Not sure if we are talking about the same algorithm, either, although it sounds similar.
- anon_comenter9 15y agoThinking about it, that sounds like inline threading http://blog.mozilla.com/dmandelin/2008/08/27/inline-threading-tracemonkey-etc/ http://blog.mozilla.com/dmandelin/2008/08/27/inline-threadin...
- jws 15y agoThe bodies of these opcodes are only single machine instruction or two themselves and are inlined. This changes the game.