I have a function that compares objects by each attribute to see if they are identical. But I was just wondering, would it be better to compare the object by their address inste
If you have objects for which comparison is time consuming, comparing the pointers could be used as a fast way to determine object equivalence (i.e., if the pointers are equal, objects are equivalent, otherwise they may still be equivalent)