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