Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/32d84ba5eb82f34dbb8a8fabf07077d848cdb408

>---------------------------------------------------------------

commit 32d84ba5eb82f34dbb8a8fabf07077d848cdb408
Author: Milan Straka <[email protected]>
Date:   Sun Apr 22 17:48:29 2012 +0200

    Improve heap-allocation by adding explicit type signatures.
    
    When a local 'go' function is using methods from Ord dictionary,
    this dictionary is heap-allocated at the entry to the outer function.
    If it is given explicit type mentioning the Ord class, the dictionary is
    passed on the stack, decreasing heap allocation.

 Data/Map/Base.hs   |   27 ++++++++++++++++++++++++---
 Data/Map/Strict.hs |   16 ++++++++++++++--
 Data/Set.hs        |   20 +++++++++++++++++---
 3 files changed, 55 insertions(+), 8 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 32d84ba5eb82f34dbb8a8fabf07077d848cdb408

_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to