diff options
author | Dimitrios Vytiniotis <dimitris@microsoft.com> | 2011-11-24 18:50:02 +0000 |
---|---|---|
committer | Dimitrios Vytiniotis <dimitris@microsoft.com> | 2011-11-28 12:09:56 +0000 |
commit | 4bc84da3ee16cc7fd3f939b06c2c67195611a963 (patch) | |
tree | fb92eaafb75d41c5f10ab3787778cf434f39a941 /compiler/codeGen | |
parent | f3183d9a9c1d738da31b094c3baad2b885780592 (diff) | |
download | haskell-4bc84da3ee16cc7fd3f939b06c2c67195611a963.tar.gz |
Solved goal caching and zonking optimisations.
1) Stopped rewriting and caching solveds in the inerts because
profiling showed that a lot of time was spent on rewriting
already solved goals.
2) Optimisations in zonkEvBinds for common-case
evidence bindings generated from the constraint solver.
3) Now solved goals cache their evidence terms, so that we can more
aggressively optimize Refl coercions during constraint solving.
This patch also includes a rewrite of rewriteInertEqsFromInertEq
which greatly improves its efficiency.
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions