next up previous contents
Next: MinLDView Up: Views Previous: SortedView   Contents

CachedView

A CachedView is a performance enhancing view generally used with deep view hierarchies. The view system generally processes data 'on-the-fly', which means that when data is requested via getData(), that request is propagated up to the root dataset and then the data is filtered on the way down. When there are many layers, this process may become slow, especially for large datasets. A CachedView sits in between views and keeps a copy of its parent's getData() results. When data is requested from the CachedView, it is returned from this local copy, avoiding the need to propagate through the view tree.

There is no example of the CachedView as it returns identical data to its parent.



Lucas Scharenbroich 2003-08-27