Open doyougnu opened 2 years ago
This used to be important, not sure if GHC 9.X optimizes these away now. It might so need to verify. Case study on IntMap is here though, see the source code of containers for details.
IntMap
Be sure to show Stg and Core too.
I don't think this is relevant anymore. I'm pretty sure GHC reorders things now, but don't have any evidence so I need to atleast check.
This used to be important, not sure if GHC 9.X optimizes these away now. It might so need to verify. Case study on
IntMap
is here though, see the source code of containers for details.Be sure to show Stg and Core too.