patch applied (packages/containers): Mark fold explicitely as INLINE.

Ian Lynagh igloo at earth.li
Fri Nov 12 17:09:18 EST 2010


Sat Oct 16 15:21:50 PDT 2010  Milan Straka <fox at ucw.cz>
  * Mark fold explicitely as INLINE.
  
  The INLINABLE does not work well in this case. Benchmarks
  show memory savings (due to unboxing) and nearly no GHC binary
  size increase.

    M ./Data/IntMap.hs -17 +6
    M ./Data/IntSet.hs -16 +7
    M ./Data/Map.hs -12 +4
    M ./Data/Set.hs -6 +2

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=packages/containers;a=darcs_commitdiff;h=20101016222150-7b66e-f536ed5b4a577faec706d67adb8d5bd440b15533.gz


More information about the Cvs-libraries mailing list