It seems clear that if the serialization matches, the objects are equal. It is not at all clear that if the serialization mismatches, that the objects are necessarily not equal, just that they are possibly not equal.
Not so fun fact. ROS1 does this to compute hashes for their message format, but they do it wrong, so that every ROS1 system has potentially catastrophic deserialisations going on.
It's a wontfix because they'd have to recompile their packages to fix it. Yeah, talk about quality...
It's a wontfix because they'd have to recompile their packages to fix it. Yeah, talk about quality...