for review: deforestation [1/4]

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Feb 20 01:24:55 AEDT 1998


On 19-Feb-1998, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> 
> Fergus, could you please review this.

With pleasure.  In return, however, I shall ask you to review my
upcoming changes for nested module support ;-)

> Deforestation.

     @         @
    @ @       @ @
     @         @ 
          *      
         ***       
   #             # 
    #           # 
      #########  

> This increases the code size of the compiler by ~80k when compiling
> with --intermodule-optimization --deforestation.
> 
> The improvement from deforestation is not measurable for mmc -C make_hlds.m.
> Compile time for make_hlds.m increased from 50.7 seconds to 52.2 seconds
> when running deforestation.

I presume you have some test cases for which it *does* produce
measurable improvements? ;-)

The log message looks quite nice.  I'll have a look at the code in
the near future, but it will take some time to review.

Cheers,
	Fergus.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3         |     -- the last words of T. S. Garp.



More information about the developers mailing list