Comment Comment by int_19h XOR is a bad way to do it, but there are ones that work much better that are described in answers to that post, and it's what other languages use in similar situations (e.g. tuples in Python and C#):https://github.com/python/cpython/blob/71db5dbcd714b2e1297c4... parent int_19h 3 years ago
https://github.com/python/cpython/blob/71db5dbcd714b2e1297c4...