Jason Carreira wrote:
Couldn't the Method objects found the first time through reflection for
parameterizing the Action instances be cached and reused, making the
reflection performance hit negligible? I've never profiled reflection to
see where the biggest performance hit is, but if it's the Class and
Method lookup, this could help (and be used for the Action field
population, as well)
The biggest hit is in lookup, absolutely. However, there's overhead for type conversion too.

And if you compare it with a simple Conf.getValue() call the overhead is MUCH higher.

/Rickard



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


Reply via email to