From: Mathieu Bouchard Date: 2006-07-31T08:24:03+09:00 Subject: Re: doc patch: weakref. --8323328-848820817-1154301538=:23154 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-848820817-1154301538=:23154" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-848820817-1154301538=:23154 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1; FORMAT=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Content-ID: On Sun, 30 Jul 2006, Mauricio Fernandez wrote: > Some people don't know how Ruby's GC works, or even what a mark&sweep GC= =20 > is. They wouldn't understand what the above means (maybe). > > "WeakRef is a class to represent a reference to an object that may be > reclaimed by the GC. The WeakRef is invalidated when this happens." That would be the best description of it that I have seen here. However,=20 none of the descriptions really say it clearly like: if an object is only= =20 pointed to through WeakRefs, that object will be deleted. _ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - t=E9l:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montr=E9al QC Canada --8323328-848820817-1154301538=:23154-- --8323328-848820817-1154301538=:23154--