[perf] review markCreated, markForDeletion, finalizeForDeletion algorithm
-------------------------------------------------------------------------

                 Key: MYFACES-3470
                 URL: https://issues.apache.org/jira/browse/MYFACES-3470
             Project: MyFaces Core
          Issue Type: Improvement
            Reporter: Martin Kočí
            Priority: Minor


Whe using PPS,  ComponentTagHandlerDelegate.apply:

1) generates a unique id: String id = 
ctx.generateUniqueId(_delegate.getTagId());
2) stores it in component.attributes under key MARK_CREATED 
c.getAttributes().put(ComponentSupport.MARK_CREATED, id)

both  steps creates new instances (StringBuilder, HashMap.Entry). 

But is seems, that this MARK_CREATED is used only in case of 
RefreshingTransientBuild = true and it is probably not necessary create and 
store that id for every component.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to