Steve's way seems to be the fastest just for my logical understanding (not tested), however, if you rather wanna go with a chunky test (eg. INTEGER64) then beside the test "IF a&& = b&&" you also could try "xx&& = aa&& XOR bb&&" and then checking xx& for zero, if it is, then the chunk is identical, if it's not zero, then it's different. No idea, if "=" is faster than "XOR" or vise versa, it's just a thought.