Use unsafeDupableInterleaveIO in UniqSupply
authorIan Lynagh <igloo@earth.li>
Wed, 22 Aug 2007 14:34:22 +0000 (14:34 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 22 Aug 2007 14:34:22 +0000 (14:34 +0000)
commit19b0b165a24606dbdb1f4dd7728da7346845a5a0
tree24887917ae44ab5ce64534e2e5f4e94f911ca57e
parenta5c802d4a27be911b6cbc23104bcff753867b55a
Use unsafeDupableInterleaveIO in UniqSupply
We'll need to change this if we ever use threads in GHC, but for now it
drops mkSplitUniqSupply from 35% time down below 0.1% when compiling
J.hs from #1136.
compiler/basicTypes/UniqSupply.lhs