On Thu, Jan 02, 2003 at 06:41:59PM +0100, Rickard Öberg wrote:
> Patrick Lightbody wrote:
> >I think that the ability to have parameters applied before the action is
> >initialized is a feature needed, even if it could be slow. For the most 
> >part
> >there will be zero params, so the slowdown isn't an issue. 
> 
> But it's a dangerous option, since it may not be apparent that this 
> slowdown will occur. If possible, configuration of actions should not 
> occur this way.

I think it is a very useful feature, and this is to me this is an
obvious case premature optimization.

I should mention that I'm a developer at cglib.sf.net, and one of the
things on my TODO list is write a bcel-ified bean copier. Webwork would
benefit greatly from this, since the configuration is (totally?) static,
which means the same beans are copied over and over again. The end
result is that the overhead of having action properties work bean-style
would probably be negligible, and for sure faster than using the
Preferences API in execute().

-Chris


-------------------------------------------------------
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