Implement equalKeysUFM the right way
authorDavid Feuer <david.feuer@gmail.com>
Mon, 19 Mar 2018 16:03:36 +0000 (12:03 -0400)
committerBen Gamari <ben@smart-cactus.org>
Mon, 19 Mar 2018 16:05:12 +0000 (12:05 -0400)
commitfbd9b886df92d1e0be0bdaacc7352273b504b78d
treed78e2124d644c4fe51f0b1c42631ba8a78111133
parent256577fbde836f13c744418d38d18c17a369f7e9
Implement equalKeysUFM the right way

Originally, we compared the key lists, which was kind of silly.
Then I changed it to something fancier ... and also silly.
This is much more reasonable, should be faster, and is nice and
clear.

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie, carter

Differential Revision: https://phabricator.haskell.org/D4500
compiler/utils/UniqFM.hs