Slower than Python

bearophile bearophileHUGS at lycos.com
Sun Mar 3 03:57:35 PST 2013


Walter Bright:

> and I have trouble thinking of any significant improvements to 
> code gen that could be made with runtime data.

I've seen that the JavaHotSpot is able to unroll loops with a 
length known only at run-time. It unrolls them only when the 
run-time statistics say it's advantageous.

(In theory the same is possible with profile-driven optimization).

Bye,
bearophile


More information about the Digitalmars-d mailing list