Affects Version/s: 1.3
Fix Version/s: None
Operating System: All
The Rules that invoke methods; CallMethodRule, SetNextRule, SetRootRule,
SetTopRule use a method in beanutils.MethodUtils which does a lookup of the
method each and everytime it is invoked, obviously this can greatly impact the
performance of the Digester.
My suggestion is to have the specific Rule instance do a lookup of the method
upon first invokation and keep the reference to the Method in the Rule instance
for later re-use.
I have made this modification locally and have observed typical Digester speed
improvements of 20-50% depending on the specific Digester rules.