commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13098] - Digester Performance
Date Sat, 28 Sep 2002 01:25:30 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13098>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13098

Digester Performance





------- Additional Comments From gmessner@titan.com  2002-09-28 01:25 -------
When I was profiling the Digester code I was suprised that the
beanutils.MethodUtils didn't cache the looked up methods.

But in the case of the Digester Rules, I'd rather keep just the Method reference
than the name of the method around for later lookup, because doing a method
lookup is more than just looking up a method by name, it also requires you to
build  up a Class[] to specifiy the parameters for the method.

As often as the Digester does method invokation I think it makes sense to cache
the Method reference in the specific Digester Rule instance, because to some of
us every bit of speed helps. 

That being said, I do think it would be a good idea for the lang package to
cache things that are looked up.

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message