how well is javac from sun's jdk tools optimized?
wow, that's a general question... so i guess here is a simple example...
let's say i have a program that uses an array.
and many times in the program i need to do computation that rely on the
array's length.
so, how much speedup (if any at all) is there to storing the array length
as an int and using that in the computations, compared with constantly
using the arrayName.lengt h method?
thanks for any insight, or pointing me to some not-too-in-depth
documentation on the runtime system of java and how optimizations at
compile time are done.
thanks again!
murat
--
Murat Tasan
mxt6@po.cwru.ed u
tasan@eecs.cwru .edu
murat.tasan@cwr u.edu
wow, that's a general question... so i guess here is a simple example...
let's say i have a program that uses an array.
and many times in the program i need to do computation that rely on the
array's length.
so, how much speedup (if any at all) is there to storing the array length
as an int and using that in the computations, compared with constantly
using the arrayName.lengt h method?
thanks for any insight, or pointing me to some not-too-in-depth
documentation on the runtime system of java and how optimizations at
compile time are done.
thanks again!
murat
--
Murat Tasan
mxt6@po.cwru.ed u
tasan@eecs.cwru .edu
murat.tasan@cwr u.edu
Comment