• Simon Marlow's avatar
    Optimise common cases of GHC.setProgramDynFlags · 3b5f786c
    Simon Marlow authored
    * If the package flags haven't changed, don't do initPackages (which
      might take multiple seconds in extreme cases)
    
    * Provide a way to change the log_action without invalidating the
      summary cache.
    
    Test Plan: validate
    
    Reviewers: niteria, bgamari, austin, erikd, ezyang
    
    Reviewed By: bgamari
    
    Subscribers: mpickering, rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3392
    3b5f786c
Packages.hs 84.4 KB