Changes between Version 7 and Version 8 of NFR_TEXT_PERFORMANCE_R0


Ignore:
Timestamp:
11/10/09 14:52:30 (16 years ago)
Author:
kyli
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NFR_TEXT_PERFORMANCE_R0

    v7 v8  
    4444Unfortunately, there is no time left to improve overall performance. Instead, some other small changes, which were noticed while looking around the code, will be performed (if the reviewers agree with this): 
    4545 * In HeadTextFrameView, getAreas() could take the areas from an AutoProp areas(). This way, the area list should not be recomputed when the text changes (currently, getAreas() is called by textLayout(), which also tracks the text). 
     46 * The bookView could hold a list of all the PageViews. I know this breaks the lazy loading idea, but in the other case, every head text frame view computes them (the page preview palette does so, too). 
    4647 * In PwaSelector, the select() methods can be made a bit faster - they can work with only 1 set (currently they have 2). 
    4748 * In SceneHelper.findElementPath, a full DFS is performed every time, even if the element path is found on the 1st iteration. I don't know how much more effective will be putting a return statement, but I think it will not be problematic :)