I’ve seen code that uses bitwise operations to merge two Int32 numbers into a single Int64 (long) number. Is there a performance advantage to doing that as opposed to just keeping two Int32s?
I’ve seen code that uses bitwise operations to merge two Int32 numbers into a single Int64 (long) number. Is there a performance advantage to doing that as opposed to just keeping two Int32s?