Feedback Untitled 

Forum: Com Sci 12500, U Chicago, Autumn 2002, Discuss Classwork
Re: News Project step #5, deadline Monday 2 December (Mike O'Donnell)
Re: Question Questions and Thoughts (Mark Kittisopikul)
Re: More My response thoughts... (Benedict Singer)
Date: 2002, Nov 29
From: Mark Kittisopikul <markkitt@uchicago.edu>

Doing this on Thanksgiving, sigh... we don't stop working...

  1. Agreed
  2. "... I'm fairly sure that if you define a variable inside one lambda procedure, and then return a lambda procedure from that, the the inner one has access to the variable, and causes it to stick around. I could have the scope rules wrong here though."
    I think that we are agreeing here. I was having a problem figuring out how that worked because I didn't figure out how to get the persistent variable to stick.
  3. Well under my prefunc implementation, the rational->xreal simply gives the rational interval from the given rational to the given rational, always. It ignores the requested precision.
  4. (I'm assuming that your "In addition" did not refer to "in add_xreal"). That's a good point to bring up about iterative procedures. Part of that is already automatic in a sense. If the cached values already give the needed precision, then nothing has to be done. If these are not sufficient, then it would have to retreive the cached precision (either it was stored as well or by evaluating the absolute tolerance of cached value). Through each iteration, however, it would keep requesting the cached value until it got past it and each iteration shouldn't cost that much if all it's doing is returning a cached value. It might not be worth it to entangle the code like that, but I'll see.


Messages

1. More Iteration and caching... by Benedict Singer, 2002, Nov 29

to: "Untitled"