Rob,
Can you tell us exactly what the integer produced by ObjectToInt represents?
Some things I would be curious about:
- Is this the unique identifier for the object?
- What happens when it is used on a stack?
- What happens when the stack is split and it is used against each half?
- If I copy an object, will the numbers returned be different?