I mean instead of going (using a vector for example):
[pascal] result := (a.x = b.x) and (a.y = b.y) and (a.z = b.z);[/pascal]

Is there a way to do a binary memory comparison? CRC checks are slower than the comparison above, but I was thinking along the lines of almost a binary "search" to see if the records are equal.