From: Evan Weaver Date: 2008-01-08T03:55:04+09:00 Subject: Re: Manual Memory Management Python supports 'del reference', which decrements the reference counter by one and removes the variable name from scope. I would really like to see that in Ruby. Evan On Jan 7, 2008 12:20 PM, MenTaLguY wrote: > On Sat, 5 Jan 2008 15:49:30 +0900, Marcin Raczkowski wrote: > > I would only like to add that RMgick for example provides free method to > > release large images if they are not needed, and for me that's good > > thinkg. > > That's only possible because RMagick is responsible for all references > to the image. > > > solution to the above problem might be finding a way to assign Qnil to > > all references before forcefully removing actuall value. > > Generally that isn't possible because there may be references from the C > stack. > > -mental > > > -- Evan Weaver Cloudburst, LLC