Merge lp:~gordallott/unity/more-dash-speedups into lp:unity
Proposed by
Gord Allott
Status: | Merged |
---|---|
Approved by: | Mirco Müller |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1518 |
Proposed branch: | lp:~gordallott/unity/more-dash-speedups |
Merge into: | lp:unity |
Diff against target: |
286 lines (+145/-15) 4 files modified
plugins/unityshell/src/ResultRendererTile.cpp (+10/-5) plugins/unityshell/src/ResultViewGrid.cpp (+124/-8) plugins/unityshell/src/ResultViewGrid.h (+8/-1) tests/TestResultView.cpp (+3/-1) |
To merge this branch: | bzr merge lp:~gordallott/unity/more-dash-speedups |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mirco Müller (community) | Approve | ||
Review via email: mp+74569@code.launchpad.net |
Description of the change
two speedups, first the dash only draws the results that are physically on the screen, anything not expanded or scrolled off will not get drawn
secondly we only pre-load the majority of results when the result view is expanded.
I tried to make it work so that we only pre-loaded a few screens worth even then, but nux doesn't give you a nice way of knowing if you have been scrolled, so it just lead to lots of waiting around for icons to load, not fun
all in all we should be much nicer on your memory with this branch
To post a comment you must log in.
Very nice! Approved!