Hi, > >now, in frame:runOpcode, to resolve the function, only do this: > >functionPointer = *base + (bytecode * sizeOf(bool) ) > >et voila; >I mean that gotta be [much?] faster than some switch thing; > Well, I think it can speed up a little bit. But it is not part that is time consuming. Since each bytecode needs i386 CALL instruction. as compare to switch statment, time of "Call" is much much larger than "Compare and then Jump On Condition". IMO, JIT is the best way to INCREASE the speed of JJOS. hm, but I prefer to implement a COMPLETE JVM in JJOS rather speed up it. Since current JJOS just implements about 80%-90% of Java. Regards, Hilary _______________________________________________ Kernel maillist - [EMAIL PROTECTED] http://jos.org/mailman/listinfo/kernel
