[
https://issues.apache.org/jira/browse/MYFACES-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonardo Uribe resolved MYFACES-3423.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.6
2.0.12
> [perf] Use ArrayList instead LinkedList in UIComponent.pushComponentToEL /
> popComponentFromEL
> ---------------------------------------------------------------------------------------------
>
> Key: MYFACES-3423
> URL: https://issues.apache.org/jira/browse/MYFACES-3423
> Project: MyFaces Core
> Issue Type: Improvement
> Components: JSR-314
> Reporter: Leonardo Uribe
> Assignee: Leonardo Uribe
> Fix For: 2.0.12, 2.1.6
>
>
> Doing some performance tests it was found that LinkedList create and discard
> lots of instances of LinkedList.EntrySet. Use an ArrayList is better because
> it does not create such instances, improving code speed and reducing memory
> footprint. Note use LinkedList was a good idea because that makes easier to
> think about algorithm itself, but since that part of the code is pretty
> stable and have , we can change it without problem.
--
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