lp:~josharenson/unity-scopes-shell/fix-overview-results-sorting
- Get this branch:
- bzr branch lp:~josharenson/unity-scopes-shell/fix-overview-results-sorting
Branch merges
- Andrea Cimitan (community): Approve
- Paweł Stołowski (community): Approve
-
Diff: 44 lines (+19/-14)1 file modifiedsrc/Unity/overviewresults.cpp (+19/-14)
Related bugs
Related blueprints
Branch information
Recent revisions
- 355. By Josh Arenson
-
Fix the list sorting of overviewresults
When the results for the model were set, the loop responsible for sorting them
was being executed hundreds of thousands of times. It has been replaced with a
simple insertion sort. - 352. By Michael Terry
-
Handle running inside a snap by paying attention to the $SNAP prefix. (LP: #1629009)
Approved by: Marcus Tomlinson, unity-api-1-bot
- 349. By Marcus Tomlinson
-
Don't make changes to the settings model from a separate thread. (LP: #1627795)
- 348. By Albert Astals Cid
-
Save creating/destroying a QSharedPointer
It's not much but it's a free optimization anyway
Approved by: Paweł Stołowski
- 347. By Albert Astals Cid
-
Optimize ResultsModel::data a bit
Do the role to component string early in ::setComponents
Mapping instead of every time in ::data
This way we do not need to create temporary strings every time ::data gets calledAlso since we know there's a finite amount of roles, store the role->string mapping in a vector instead of a map/hash
Approved by: Marcus Tomlinson
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:unity-scopes-shell