ReRe: performance - some details (and shellsort)

Tom Tromey tromey@cygnus.com
Mon Aug 16 14:07:00 GMT 1999


>>>>> "Jeff" == Jeff Sturm <jsturm@sigma6.com> writes:

Jeff> That's it. If we help the compiler a little it can optimize
Jeff> away the the call to _Jv_CheckArrayStore().
_Jv_CheckArrayStore is fairly expensive as it calls
Class.isAssignableFrom. Currently this method can be quite slow,
particularly if looking at interfaces.
It is possible to rewrite this method to be faster, but it requires
compiler changes, I think.
Optimizing away calls to it would also be good, when possible. I
didn't look at the example code to see if it is possible (in theory)
in that case.
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /