[E-Lang] Reflection invoke() timing measurement

Jonathan S. Shapiro shap@eros-os.org
Thu, 19 Jul 2001 08:54:49 -0400


> ...we may very well find reflective invoke() to
> be our bottleneck.  Reflective invoke() is fundamental to mapping E
> computation onto  the JVM.  Fortunately, Sun says their JDK 1.4
> implementation does reflective invoke() much faster...

Pardon an ignorant and off-topic question. I don't know enough about Java
reflection to understand this. Is there any inherent reason why reflective
invoke should be less efficient than conventional invoke? I suspect there is
a marginal indirection somewhere, but I cannot think of anything else that's
substantive.

Jonathan