Interpreter speedup possible?
Dan Ingalls
Dan.Ingalls at disney.com
Fri Aug 11 15:59:26 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.
PS: I think Dolphin ST only runs on Windows. Is anyone out there in a position to compare our simple integer benchmark (a very good test of simple bytecode speed) on Squeak and DST on the same machine? I would be interested to see the results.
- Dan
More information about the Squeak-dev
mailing list
|