David --<div><br></div><div>Thank you for the teachpack and the explanation. Much appreciated!</div><div><br></div><div>Dave Yrueta</div><br><div class="gmail_quote">2009/4/4 David Van Horn <span dir="ltr"><<a href="mailto:dvanhorn@ccs.neu.edu">dvanhorn@ccs.neu.edu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">David Yrueta wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you. I'm not working on any of those platforms, just on Dr. Scheme. Can you explain to me what collect-garbage does?<br>
</blockquote>
<br></div>
Hi David,<br>
<br>
I've attached a teachpack that makes collect-garbage available. Save the file, open DrScheme, select Language > Add Teachpack ..., Add Teachpack to List... Navigate to the saved file and select it. You should now be able to run your program.<br>
<br>
DrScheme will implicitly collect values that are no longer in use during the running of your program so that their memory can be re-used (this process is called "garbage collection"). This process takes time, so in order for your timings to be more accurate, you should explicitly cause this process to happen just before collecting timing information.<br>
<font color="#888888">
<br>
David<br>
<br>
</font><br>#lang scheme<br>
(provide collect-garbage)<br>
<br></blockquote></div><br>