[m-dev.] for review: --no-const-ground-terms

Peter Ross petdr at miscrit.be
Tue Oct 10 20:52:53 AEDT 2000


On Tue, Oct 10, 2000 at 08:42:37PM +1100, Fergus Henderson wrote:
> For structure reuse, what should ideally be done is
> 	(1) compile known-at-compile-time ground terms into static consts
> 	    iff they will not be reused
> 	(2) try to reuse terms which are not known at compile time in
> 	    preference to reusing terms which are known at compile time.
> 
> Turning off static ground term optimization entirely is going to hurt
> a lot; doing (1) should gain you back most of the benefits.
> 
I was talking to Nancy about this, and it is not that hard to implement,
so we will look at it as part of our optimization phase.

Pete
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list