[commit: ghc] master: Faster checkFamInstConsistency (69d9081)
git at git.haskell.org
git at git.haskell.org
Wed May 31 12:28:12 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/69d9081d9fa3ff36fda36e4e11ef7e8f946ecf2a/ghc
>---------------------------------------------------------------
commit 69d9081d9fa3ff36fda36e4e11ef7e8f946ecf2a
Author: Bartosz Nitka <niteria at gmail.com>
Date: Fri May 19 08:08:01 2017 -0700
Faster checkFamInstConsistency
This implements the idea from
https://ghc.haskell.org/trac/ghc/ticket/13092#comment:14.
It's explained in Note [Checking family instance optimization]
in more detail.
This improves the test case T13719 tenfold and
cuts down the compile time on `:load` in `ghci` on our
internal code base by half.
Test Plan: ./validate
Reviewers: simonpj, simonmar, rwbarton, austin, bgamari
Reviewed By: simonpj
Subscribers: thomie
GHC Trac Issues: #13719
Differential Revision: https://phabricator.haskell.org/D3603
>---------------------------------------------------------------
69d9081d9fa3ff36fda36e4e11ef7e8f946ecf2a
compiler/typecheck/FamInst.hs | 212 +++++++++++++++++++++---------------
compiler/typecheck/TcRnDriver.hs | 2 +-
testsuite/tests/perf/compiler/all.T | 6 +-
testsuite/tests/perf/haddock/all.T | 6 +-
4 files changed, 135 insertions(+), 91 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 69d9081d9fa3ff36fda36e4e11ef7e8f946ecf2a
More information about the ghc-commits
mailing list