[GHC] #8173: GHC uses nub

GHC ghc-devs
Sat Oct 5 07:35:58 UTC 2013


#8173: GHC uses nub
-------------------------------------------------+-------------------------
        Reporter:  nh2                           |            Owner:
            Type:  bug                           |  leroux
        Priority:  low                           |           Status:  new
       Component:  Compiler                      |        Milestone:
      Resolution:                                |          Version:  7.6.3
Operating System:  Unknown/Multiple              |         Keywords:
 Type of failure:  Compile-time performance bug  |     Architecture:
       Test Case:                                |  Unknown/Multiple
        Blocking:                                |       Difficulty:
                                                 |  Unknown
                                                 |       Blocked By:
                                                 |  Related Tickets:
-------------------------------------------------+-------------------------

Comment (by leroux):

 I've attached a patch to include compile time alloc info on #8409.

 I'll keep digging in but so far it doesn't look like allocation is
 affected significantly either.

 {{{
 Compile Allocations

 -------------------------------------------------------------------------------
         Program               head-0          head-1        ordNub-0
 ordNub-1  ordNub-cases-0  ordNub-cases-1
 -------------------------------------------------------------------------------
         -1 s.d.                -----           -0.0%           -0.0%
 -0.0%           -0.0%           -0.0%
         +1 s.d.                -----           +0.0%           +0.0%
 +0.0%           +0.0%           +0.0%
         Average                -----           +0.0%           +0.0%
 +0.0%           +0.0%           +0.0%
 }}}

 0% across the board, apparently. Any other suggestions anyone? Perhaps
 I'll try to replace the few `nub`'s I left laying around in the compiler.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8173#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list