Remove layers of newtype in Unique and Label simonmar-hoopl-opt
authorSimon Marlow <marlowsd@gmail.com>
Thu, 15 Mar 2012 13:17:30 +0000 (13:17 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 15 Mar 2012 13:17:30 +0000 (13:17 +0000)
commit3056dec8fdafe48df1168779528c477c44d30c10
tree514c2fd1570c541e39059cbc8b9702f45bd73e68
parent98b22db083aa6f21e46fee047e0b8c9795624401
Remove layers of newtype in Unique and Label

Improves performance due to eliminating some unnecessary maps in
e.g. mapToList, setToList.  This was quite a significant effect in
GHC.
src/Compiler/Hoopl/Label.hs
src/Compiler/Hoopl/MkGraph.hs
src/Compiler/Hoopl/Unique.hs