simile-widgets/exhibit — pull request #61 by karger (2013-10-30 04:46:04+00:00)
Title: 2013 10 30 ordered view frame cache

Performance optimization of ordered view frame, which is used to render lists of items in tile view and thumbnail view.
1. Used Exhibit.FacetUtilities.Cache to cache evaluation of all expressions used to sort the lists (so this utility is now used for views as well, and should become part of "expressionUtilities" or some such.
2. Modified sorting algorithm to optimized for case where only the top k items are displayed: filters to top k items and sorts only those.
3. Cleaned up some duplicate code.