On Thu, Jun 02, 2011 at 01:47:30PM +0900, Clifford Heath wrote:
> On 02/06/2011, at 1:29 PM, Kurt Stephens wrote:
> >Good point.  However, if the internal symbol table used weak references to
> >Symbol objects,
> >all dynamic Symbols that are not pinned down by code could be garbage
> >collected.
> 
> You'd lose some performance though, because it makes the GC graph
> traversal bigger.  Possibly you could activate Symbol sweeping
> infrequently, and only if Symbols represent a significant percentage
> of all objects. Not sure how such an option would play in the GC
> code however.

I wonder if it could be possible to internally delay the conversion
from string to symbol until it actually can save memory?

-- 
Cezary Baginski