1
votes

Does anybody have any idea whether there any performance differences between using a repeat control or view control.

I am specifically looking at displaying a few columns from a view containing a large number of records; i'm not getting any performance issues just wondering if one perfoms better than another.

1

1 Answers

4
votes

If you bind a view to a repeat, the internal code uses a ViewNavigator object. This means that there is no difference in performance between using a view control and using a repeat control bound to a view.

There is a difference in usage since a view control MUST be bound to a view, where a repeat control can be bound to lots of different things such as anything that's an array, or a Java Collection, or a lotus.domino collection, or all kinds of SSJS return types.

(Thanks to Nathan Freeman for help with the answer).