-
Committer:
Tarmac
-
Author(s):
Daniel van Vugt
-
Date:
2013-01-02 10:58:42 UTC
-
mfrom:
(3532.1.2 re)
-
Revision ID:
tarmac-20130102105842-4h0o14gx75fc7750
Avoid calling code that results in calls to regexec as much as possible.
Regular expression matching is too expensive to do very often and compiz
was spending 31% of its CPU time in regexec().
(LP: #1095001)
. Fixes: https://bugs.launchpad.net/bugs/1095001.
Approved by Sam Spilsbury, PS Jenkins bot.