diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2017-05-11 00:17:04 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-05-11 17:24:46 -0400 |
commit | 6f999230e8f955ee61c470d34a02650165643f68 (patch) | |
tree | e0870461a799043404b982035412459e65ff822c /testsuite/tests/typecheck/should_fail/tcfail053.stderr | |
parent | 2316ee1c42d7f4dc229295a5b5426dde40944dc1 (diff) | |
download | haskell-6f999230e8f955ee61c470d34a02650165643f68.tar.gz |
pmCheck: Don't generate PmId OccNames from Uniques
Doug Wilson astutely noticed that the pattern match checker was spending
a significant amount of time in mkPmId. It turns out that it was
producing Ids with OccNames that were generated from a Unique, which are
non-trivial to render. Since Var is strict in Name, Name in OccName, and
OccName in its FastString all of this encoding work was being done
despite the fact that it was (as far as I can tell) never actually
needed.
Test Plan: Validate, note allocations of `T11195`
Reviewers: austin, gkaracha
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D3568
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail053.stderr')
0 files changed, 0 insertions, 0 deletions