Merge lp:~vanvugt/compiz-core/fix-946887 into lp:compiz-core
Proposed by
Daniel van Vugt
Status: | Merged |
---|---|
Approved by: | Alan Griffiths |
Approved revision: | 3040 |
Merged at revision: | 3043 |
Proposed branch: | lp:~vanvugt/compiz-core/fix-946887 |
Merge into: | lp:compiz-core |
Diff against target: |
23 lines (+2/-4) 1 file modified
plugins/opengl/src/paint.cpp (+2/-4) |
To merge this branch: | bzr merge lp:~vanvugt/compiz-core/fix-946887 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alan Griffiths | Approve | ||
Review via email:
|
Description of the change
Avoid pointlessly doing a full copy of a linked list every frame when the
copy is never changed and never different to the source. This cuts an
instant 6-9% from compiz' CPU usage (LP: #946887)
To post a comment you must log in.
LGTM (I'd prefer moving the "rit" declaration to the point of initialization too.)