You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Paulo Gaspar <pa...@krankikom.de> on 2002/02/08 16:19:14 UTC
Is JDK 1.4 going to get Velocity running faster?
From:
http://java.sun.com/j2se/1.4/performance.guide.html
Reflective Method Invocation
One powerful feature of the Java programming language
is the ability to dynamically look up and call methods.
The key constructs for doing this are contained in the
java.lang.reflect package. In J2SE 1.4, the mechanism
that implements these features has been reimplemented
for dramatically improved performance. The chart below
shows the relative performance on a simple benchmark
that repeatedly calls small methods - performance is
improved by a factor of 20!
UAU!... "performance is improved by a factor of 20!"!!!
Which means the original implementation was probably
quite sh*ty, of course.
Have fun,
Paulo Gaspar
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>