GHC.Unit.State: Data.Map --> GHC.Types.Unique.Map
Swap all the Data.Maps 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.MapAPI changes in haddock. (I've convertednonDetEltsUniqMaptononDetUniqMapToListso that the Unique Map API follows the conventions inGHC.Unique.FM). IMHO haddock shouldn't even know aboutGHC.Types.Unique.Mapbut c'est la vie. -
reduce max allocations. I think this is just a matter of addingThis will be a separate MRINLINEABLEor specializing the functions that operate on the unique map
Edited by jeffrey young