Open eclipse-faces-bot opened 13 years ago
@glassfishrobot Commented Reported by markoc
@glassfishrobot Commented jakobkorherr said: As I followed the discussion on MYFACES-3130, I have to say that this is a valueable "change" (actually it is not really a change, just a hint).
So +1 on including this info in the spec from my side!
@glassfishrobot Commented @edburns said: Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
@glassfishrobot Commented @manfredriem said: Setting priority to Minor
@glassfishrobot Commented This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-1003
Performance related problem:
Both Mojarra and MyFaces use iterator() for iteration over children. That is very slow if view is big and contains thousands of components.
Specify: 1) Specify : UIComponent.getChildren() is type of java.util.RandomAccess 2) Specify new UIComponent.getFacets(): List (java.util.RandomAccess) for fast iteration over facets
1) is very easy because mojarra and myfaces use ArrayList for children (so does trinidad)
I think this is not implementation detail, because custom renderkits must know that fast iteration is possible
See: https://issues.apache.org/jira/browse/MYFACES-3130 http://www.mail-archive.com/dev@myfaces.apache.org/msg52979.html