[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: porting?



> Actually, the Java VM only needs one optimisation to run well at those speeds:
> There's a 240-case switch statement in the main interpreter loop. Convert it
> to a jump table, and you gain _two_orders_of_magnitude speed increase.

Won't gcc do that that automatically with optimizations on?  Aren't
those 240 cases cases of *byte*code (range 0-255) inctructions?

I haven't checked this out, but if gcc really is that lame I'm
seriously disappointed (might even change some code I have :)).
<g>

	- Eero