GHC.Unit.State: Data.Map --> GHC.Types.Unique.Map
Swap all the Data.Map
s in GHC.Unit.State
for GHC.Unique.UniqMap
.
In pursuit of #22426 (closed)
Marking as draft until:
-
Fix one failing test -
squash with commit message referencing 22426 and marking the perf tests as failing -
upstream the GHC.Types.Unique.Map
API changes in haddock. (I've convertednonDetEltsUniqMap
tononDetUniqMapToList
so that the Unique Map API follows the conventions inGHC.Unique.FM
). IMHO haddock shouldn't even know aboutGHC.Types.Unique.Map
but c'est la vie. -
reduce max allocations. I think this is just a matter of addingThis will be a separate MRINLINEABLE
or specializing the functions that operate on the unique map
Edited by jeffrey young