[PEAK] lazy evaluation

Phillip J. Eby pje at telecommunity.com
Sun Jul 16 20:12:09 EDT 2006


At 08:17 PM 7/16/2006 +0200, Jean-Philippe Dutreve wrote:
> >From tellis/README.txt, dependent values are computed very soon :
>
> >>> x.value = 7
>computing y from x
>computing z from y
>
>Would it be possible to lazily comput them?

The Trellis code is about to receive a significant overhaul.  But to do 
lazy computation you will need to create a specialized kind of value 
holder.  Lazy computation will eventually be supported, but right now the 
Trellis code is not in anything remotely resembling a usable state - its 
API is about to get *completely* redone, probably in the next few days, as 
it is now my new "self-assigned project" at OSAF (similar to a Google "20% 
project").  So, I will actually be able to spend some of my normal work 
hours on it during this coming week.




More information about the PEAK mailing list