ReRe: performance - some details (and shellsort)
Alexandre Petit-Bianco
apbianco@cygnus.com
Mon Aug 16 13:51:00 GMT 1999
Jeff Sturm writes:
> That's more like it! I wonder if this call could somehow be
> optimized away, if the compiler is smart enough to know that it is
> reassigning values from the same array...
At first glance, it seems that such an optimization could be
implemented. It's more a matter of finding one available hook on
variable DECLs to remember the information. If no such hook is
available, the implementation would be more costly (in terms of lines
of code to write and test.)
./A
More information about the Java
mailing list