| |
| | Java Optimization: JIT |
 | | In the scope of this writing, several techniques will be presented to provide some generic background about 'optimization', and as an illustration, two tests were performed on three existing compilers for the observation of their behavior on different aspects of computation. |
 | | The second optimized loop works even better since the comparison of i with len is replaced by the comparison of i with 0, so the variable len does not need to be loaded every comparison, while the comparison with 0 is prebuilt in some instructions. |
 | | However, if the optimization techniques are so intricate as to provide the fastest executing codes, a large amount of time can be spent for compiling and loading, and it might defeat the purpose of optimization which is to reduce the execution time. |
| www.cs.pdx.edu /~nbnguyen/jit.html (1691 words) |
|