Of course in terms of performance many depends on the CPU architecture and not always using 64 bit type could be faster than using 32 bit type - could be opposite if machine is 32bit.
We're in 2023 though. So unless you work on legacy device or micro controller, your device should use 64-bit whether it's arm or x86.