i heard something about garbage collector.<br>Someone said to me Drscheme has 3 or 4 garbage collector.Is it true ? If it is true.How it works and how drscheme uses tese.<br><div class="gmail_quote">On Sun, Apr 5, 2009 at 12:56 AM, David Yrueta <span dir="ltr"><<a href="mailto:dyrueta@gmail.com">dyrueta@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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" target="_blank">dvanhorn@ccs.neu.edu</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5"><div>David Yrueta wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; 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></div></div>#lang scheme<br>
(provide collect-garbage)<br>
<br></blockquote></div><br>
</blockquote></div><br>