> I think the best architecture would be one with two dispatch systems.
> A really fast/simple one (possibly obscure) that's used for small
> instructions like array indexing, counter increments, sub calls, etc.

It wouldn't be the first time when a hybrid solution proves to be the
best balance between speed, versatility, extensibility, what have you.
I can vision using e.g. two-level dispatching where the first level
goes by the op "type" (string, arith, regex, io, ...).  Both levels
can be switch tables (or when using gcc, computed gotos since they
seem to "scream").

FWIW, I would like to see results for these little tests also for
other platforms than just gcc on Intel (on Linux...) :-) I tried
quickly hacking the test script and C source to be more portable
but it took me more than a few minutes so I gave up...


-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Reply via email to