In interface files, store FastStrings rather than OccNames where possible
authorSimon Marlow <simonmar@microsoft.com>
Mon, 24 Jul 2006 15:48:26 +0000 (15:48 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Mon, 24 Jul 2006 15:48:26 +0000 (15:48 +0000)
commita73d6d950f6599d35f1e0aeb80d30112816a6928
treefe945c7d68af4055d7ab85813b35858d6687a1d9
parent10ffe4f78dc4bd53d5bc2da1deb8a67669ccb476
In interface files, store FastStrings rather than OccNames where possible
In all cases the namespace is known from the context, so this saves 1
byte per variable binding/occurrence (a few percent per iface file).
compiler/iface/IfaceEnv.lhs
compiler/iface/IfaceSyn.lhs
compiler/iface/IfaceType.lhs
compiler/iface/TcIface.lhs
compiler/parser/ParserCore.y
compiler/typecheck/TcRnTypes.lhs