<div dir="ltr"><div>I doubt it makes much difference.  The amount of computation xmonad is doing is relatively small, so optimizations shouldn't make much noticeable difference.  On the other hand it very well may increase compile times (i.e. how long you have to wait after hitting mod-q to do a hot reload).</div><div><br></div><div>Disclaimer: I am not a Haskell performance expert.</div><div><br></div><div>-Brent<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 21, 2020 at 8:18 PM ivan <<a href="mailto:ivan.brennan@gmail.com">ivan.brennan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Is it inadvisable to compile your xmonad.hs with level 2 optimization enabled? I added the following pragma to my config, and haven't had any problems yet:</div><div><br></div><div>    {-# OPTIONS_GHC -O2 #-}<br></div><div><br></div><div>I searched issues/commits/google but wasn't able to find any discussion on this</div><div><br></div><div>-Ivan.</div></div>
_______________________________________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org" target="_blank">xmonad@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad</a><br>
</blockquote></div>