Merge lp:~cqql/lightdm/cpp into lp:lightdm
Status: | Merged |
---|---|
Merged at revision: | 2146 |
Proposed branch: | lp:~cqql/lightdm/cpp |
Merge into: | lp:lightdm |
Diff against target: |
22 lines (+3/-3) 1 file modified
debian/lightdm-session (+3/-3) |
To merge this branch: | bzr merge lp:~cqql/lightdm/cpp |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Ancell | Approve | ||
iGEL (community) | Approve | ||
Review via email: mp+257486@code.launchpad.net |
Commit message
Enable the C preprocessor when loading X resources
A common use for X resource files is customization of a user's terminal. Widely
used color schemes use the C preprocessor to avoid repetition. See for example
solarized[1] or base-16[2].
The counter argument, that -nocpp leads to a performance improvement for the
general audience, was disproved by igel and roelof000 in lp:1244578. To
summarize, the speed improvement is in the range of 0.01 seconds and the
commands will not even be executed if you do not have X resource files.
[1] https:/
[2] https:/
Description of the change
Enable the C preprocessor when loading X resources
A common use for X resource files is customization of a user's terminal. Widely
used color schemes use the C preprocessor to avoid repetition. See for example
solarized[1] or base-16[2].
The counter argument, that -nocpp leads to a performance improvement for the
general audience, was disproved by igel and roelof000 in lp:1244578. To
summarize, the speed improvement is in the range of 0.01 seconds and the
commands will not even be executed if you do not have X resource files.
[1] https:/
[2] https:/
Thanks Marten!
Dear LightDM Team, could we get a review for these 3 lines here?
Regards, Johannes