Christian Carlow created OFBIZ-6424:
---------------------------------------

             Summary: FormRenderer.renderItemRows should skip to the iterator 
lowIndex and go from there instead of the beginning
                 Key: OFBIZ-6424
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6424
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: Trunk
            Reporter: Christian Carlow


FormRenderer.renderItemRows contains this TODO:
// TODO: this is a bad design, for EntityListIterators we should skip to the 
lowIndex and go from there, MUCH more efficient...

EntityListIterator.relative(int) seems like it could be used to move the cursor 
when the iterator is of that type but other iterators would still suffer the 
same inefficiency.

performFindList only returns the the number of records that are to be rendered 
so unnecessary previous records never get processed so it may be worthy of 
replacing the iterator but I assume iterator is used because it generally 
performs better.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to