[ http://issues.apache.org/struts/browse/SB-49?page=comments#action_38832 ] 
            
David H. DeWolf commented on SB-49:
-----------------------------------

This should also be done within the container if at all possible.  Some of it 
has allready been moved.  This can be done after an initial 2.0.0 release.

> AttributeTag.calculateType is called even if an attribute does not need 
> preprocessing
> -------------------------------------------------------------------------------------
>
>                 Key: SB-49
>                 URL: http://issues.apache.org/struts/browse/SB-49
>             Project: Sandbox
>          Issue Type: Improvement
>          Components: Tiles
>    Affects Versions: 2.0
>         Environment: N/A (it's a design issue)
>            Reporter: Antonio Petrelli
>            Priority: Minor
>             Fix For: 2.0.1
>
>
> The AttributeTag.calculateType method is called for every attribute, even 
> those that have been already preprocessed.
> Therefore there is a (pretty small) performance problem. Currently is a case 
> of a null check and a String comparison (plus a call, obiously), but in the 
> future it could be more complex.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to