[virtmach] Switch vs. Jump Tables?
Murray, Peter C
Wed, 15 Nov 2000 11:08:49 +0900
> From: Tom Fjellstrom [mailto:firstname.lastname@example.org]
> Well CHIP right now is implemented 2 different ways,
> one big 'switch'style execution function and an
> equally large function using direct threading.
Do you use the term "threading" to indicate that the VM codes are initially
converted to function addresses prior to being first run? Or do you mean
you have an array of function pointers indexed by VM code that repeatedly