[#1551] Hashes as keys — "Nathaniel Talbott" <nathaniel@...>

I was just playing around with Hash#hash and discovered that you can't use a

13 messages 2003/09/23

Re: GC disable / enable question

From: nobu.nokada@...
Date: 2003-09-17 13:09:22 UTC
List: ruby-core #1537
Hi,

At Wed, 17 Sep 2003 21:23:21 +0900,
Torsten Rueger wrote:
> It is in essence the same as in marshal.c . So there's memory, I check 
> the "type" of it, construct a ruby object accordingly and especially 
> for objects/arrays/hashes do so recursively. I have a place to store a 
> flat list of all objects, so I don't load any twice, but I'd want to 
> keep that in C if possible.

Can't you show concrete code?  Ruby's GC shouldn't collect
objects refered by local variables and registered globals.

-- 
Nobu Nakada

In This Thread