diff options
author | Sergei Trofimovich <slyfox@inbox.ru> | 2009-08-14 21:41:03 +0200 |
---|---|---|
committer | Sergei Trofimovich <slyfox@inbox.ru> | 2009-08-14 21:41:03 +0200 |
commit | 617c0535db5a67726c4e03cb037a5768a59b4387 (patch) | |
tree | c835a7b499ca488e64eeb11480ff5b0c101c0549 /Parsers.hs | |
parent | 0713a41374288b3caa464f7e1c5b6244ccf5c16b (diff) | |
download | xmobar-617c0535db5a67726c4e03cb037a5768a59b4387.tar.gz xmobar-617c0535db5a67726c4e03cb037a5768a59b4387.tar.bz2 |
fixed "Abnormally high cpu load on X" (11 issue in tracker)
Ignore-this: f9c79a48b39c163b56393723b7215c72
Steps to reproduce are described in
http://code.google.com/p/xmobar/issues/detail?id
I've noticed large bunch of XAllocNamedColor calls/sec
in xmobar ltrace log.
This patch introduces simple hackish color cachig. It's more PoC,
than real fix.
darcs-hash:20090814194103-3eaf8-c48024c380b4372877430fec60daccd5f77f2024.gz
Diffstat (limited to 'Parsers.hs')
0 files changed, 0 insertions, 0 deletions