Quoting Dalibor Topic ([EMAIL PROTECTED]):
> I doubt that it only helps with interpreters. I'd assume that it also 
> helps with kaffe's JIT, for example. But every little bit helps ;)

Fair enough.  I will have to learn about kaffe's JIT then.

> Basically, you want to have a JIT that rewrites
> 
>   sb.append("something");
>   sb.append("else");
> 
> into
> 
>   sb.append("something").append("else");

More precisely, a JIT that compiles both forms into machine code of
similar performance, where the difference is probably a load of `sb'
from memory for each method invocation.

(A sufficiently smart compiler might do what you are describing, but
that sounds a little unrealistic to me, too.)

> In any case, the question is: can we assume that VMs using GNU Classpath 
> have good JITs? I think the answer is 'No', despite the great 

Well, I guess that was my question.


Thanks,
David

Attachment: pgp00000.pgp
Description: PGP signature

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to