Interpreter speedup possible?

Henrik Gedenryd Henrik.Gedenryd at lucs.lu.se
Fri Aug 11 08:00:45 UTC 2000


The following described the Dolphin interpreter:

> Another of our most dramatic performance improvements was achieved by
> dispatching independently from each instruction rather than from a main
> interpreter loop (threaded dispatch). This actually has very little effect
> on the code size, as at most four instructions are required. The
> implementation of many bytecodes is very short, and the dispatch
> instructions can often be intermixed with the bytecode¹s instructions in
> such a way that the overhead is reduced to the cost of the jump.

Could this have any significant impact on Squeak? It would seem relatively
easy to trick this with the Slang inliner.

(from http://www.object-arts.com/Papers/oopsla99vm.PDF)

Henrik






More information about the Squeak-dev mailing list