Compiler Optimization
- From: "Luc The Perverse" <sll_noSpamlicious_z_XXX_m@xxxxxxxxxx>
- Date: Sat, 31 Dec 2005 13:36:23 -0700
Hello. This is more a question of curiousity than actually needing a
performance increase.
I was wondering if the Java compiler (I am using Sun's j2sdk 1.4.2_10) will
change Math.PI * 2.0 into a constant in bytecode, or should I make a final
double above my function call?
--
LTP
:)
.
- Follow-Ups:
- Re: Compiler Optimization
- From: NullBock
- Re: Compiler Optimization
- Prev by Date: Re: JAVA is DEAD
- Next by Date: Re: finite state automaton
- Previous by thread: JAVA is DEAD
- Next by thread: Re: Compiler Optimization
- Index(es):