[xmonad] darcs patch: X.H.UrgencyHook: performance fix
vogt.adam at gmail.com
Mon Mar 29 13:25:55 EDT 2010
* On Saturday, March 27 2010, Tomas Janousek wrote:
>Sat Mar 27 21:15:03 CET 2010 Tomas Janousek <tomi at nomi.cz>
> * X.H.UrgencyHook: performance fix
> cleanupUrgents would update the Map in extensible state 2-times the number of
> visible windows, resulting in excessive memory usage and garbage collection.
> This seems to make it behave correctly.
>+ sw' <- suppressibleWindows sw
>+ adjustUrgents (\\ sw') >> adjustReminders (filter $ (not . (`elem` sw') . window))
While we're at performance considerations for large numbers of windows,
it might be helpful to rearrange UrgencyHook operate on S.Set instead of
More information about the xmonad