On 6/25/19 8:46 PM, Brian Milby via use-livecode wrote:
Nothing gets put into limbo. The pointer is deleted/removed from the array
thus reducing the reference count held by the object containing the value. In
the above example, the only pointer left is the one held by tSubArray until a
copy of the pointer is placed in the array as the new key which raises the
reference count back to two. The reference count never goes to 0 so garbage
collection would not touch it.
I’m sure I don’t have the terminology 100% in line with the source, but I think
the idea is close.
Doh! The hash is a collection of pointers.
Took a while to sink in, but it makes sense now.
--
Mark Wieder
ahsoftw...@gmail.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode