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 <mental / rydia.net> wrote: > On Sat, 5 Jan 2008 15:49:30 +0900, Marcin Raczkowski <mailing.mr / gmail.com> 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