diff options
author | Simon Marlow <marlowsd@gmail.com> | 2017-04-01 11:51:43 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-04-01 12:31:59 -0400 |
commit | 3b5f786c7257298657fd34b3840d8cf6da968ef6 (patch) | |
tree | 1ee1e930874dd4fa9a61e0287fc64afe3b5e543d /compiler/utils/FastMutInt.hs | |
parent | 83ac462449d9365ebd8b51f252f9cf81b35f119d (diff) | |
download | haskell-3b5f786c7257298657fd34b3840d8cf6da968ef6.tar.gz |
Optimise common cases of GHC.setProgramDynFlags
* 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
Diffstat (limited to 'compiler/utils/FastMutInt.hs')
0 files changed, 0 insertions, 0 deletions