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 [EMAIL PROTECTED]  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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to