[mercury-users] list functor style functions
    David Overton 
    dmo at hydra.cs.mu.oz.au
       
    Mon Nov 15 22:18:18 AEDT 1999
    
    
  
On Mon, 15 Nov, 1999 at 10:06:13PM EST, Ralph Becket wrote:
> > > Actually, the way I've implemented it, using 
> > extras/lazy_evaluation/lazy.m, 
> > > you _can_ backtrack over the deconstruction function, due to the
> > > operational semantics of force/1 which will cause the closure to
> > > be evaluated only once.
> > 
> > Cool!  But does this mean the entire content of the file will be
> > buffered in memory, even if the code is deterministic?  I don't think
> > that would be an acceptable overhead.
> 
> I would have thought that garbage collection would work as usual?
Yes, it should.
-- 
David Overton       Department of Computer Science & Software Engineering
PhD Student         The University of Melbourne, Australia
+61 3 9344 9159     http://www.cs.mu.oz.au/~dmo
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
    
    
More information about the users
mailing list