What about things like hash and isEqual? Are these purely based on
the pointer value,
They should be purely based on the pointer value.
or are they trying to be smart (i.e based on the contents of the
object)? I ask this as I am currently storing some DOMNodes in an
NSSet and my current code relies on the fact that each node in the
DOM is considered to not be equal to any other. Is this a valid
assumption (both now and into the future)?
Yes, for DOM nodes.
I could imagine someone arguing otherwise for some other types, like
the CSS rectangle type, but not for nodes.
-- Darin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden