Tue Sep  9 08:50:11 PDT 2008  [EMAIL PROTECTED]
  * Important performance wibble to callSiteInline (the n_vals_wanted > 0 thing)
  
  See Note [Inlining in ArgCtxt].  This very small change gives quite a
  big performance win. Just showing the bigger ones:
  
          Program           Size    Allocs   Runtime
  
--------------------------------------------------------------------------------
             anna          -0.7%     -4.3%      0.15
         cichelli          -0.6%     -6.4%      0.15
           fulsom          -0.4%    -18.5%     -8.1%
              gcd          -0.6%    -12.0%      0.06
          integer          -0.6%    -16.2%     -8.4%
            power          -0.7%    -19.3%     -4.8%
  
--------------------------------------------------------------------------------
              Min          -0.7%    -19.3%    -15.7%
              Max          -0.1%     +0.1%     +5.7%
   Geometric Mean          -0.6%     -1.9%     -4.3%
  
  The original change was to improve a case that Roman found (see test
  eyeball/inline1) but that seems to work ok now anyway.
  
  

    M ./compiler/coreSyn/CoreUnfold.lhs -2 +15

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20080909155011-1287e-8f79f735e5a81d0b65999940293c0e15f03f0268.gz

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

Reply via email to