At 2:17 PM -0800 12/12/02, Michael Lazzaro wrote:
There'll definitely be memory address reuse. If .id returns the current object's memory address, it shouldn't be cached any place, as otherwise you'll find things going bang with some regularity.On Thursday, December 12, 2002, at 01:41 PM, Dave Whipp wrote:I think if you do this, you're probably in a world of hurt. We'd have to assure that no object id's are *ever* reused -- so mem addresses are out, since the same address may be used for different things at different points in time.I might want to write code such as:$remembered_id = $obj.id; ... [ time passes ] ... if $an_object.id == $remembered_id { ... }
--
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk