From: Joel VanderWerf Date: 2006-06-02T07:47:41+09:00 Subject: Re: How can I pin a Ruby object in memory? Lyle Johnson wrote: > If you're asking whether Ruby will move the address of the Data object > itself: I'm guessing that that's possible. If ruby moved objects like that (whether T_DATA or T_OBJECT, T_STRING, etc), it would be a disaster. Every VALUE that referred to the object (in other words every reference to it in a variable, array, hash, etc.) would become invalid, since the VALUE type is actually a pointer in these cases. (I may be misunderstanding the question though...) -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407