Re: Compiler Optimization



Equations solely consisting of compile-time constants are typically
solved before being compiled to byte code. This is also true of
strings, so :

String s = "I want " + ((23 + 7) / 3) + " big macs";

would be stored in byte code as "I want 10 big macs".

Walter Gildersleeve
Freiburg, Germany

______________________________________________________
http://linkfrog.net
URL Shortening
Free and easy, small and green.

.