I've heard that using short
s on 32 bit system is using int More is disabled in
. Is it same for int
on a 64 bit system?
Python has recently been mixed with (?) Essentially int
s with long
and basically a datatype tall
Is it, right? If you are sure that your app will only run on 64 bits, is it possible to use long time for everything in Java (possibly a good idea)?
is arbitrary in a Python long
, it is not 64-bit; Python 3 is the long
Has been changed from int
, so now only an integral type of arbitrary value is accurate, it saves a lot of work for the programmer. Java's int is 32-bit, it's 64-bit long A 64-bit processor can generally perform better than 32-bit processors on a 64-bit integer.
Using a 32-bit integer on 64-bit platforms is not expensive, not at least in x64. For reasons of this performance, there is no point in choosing only 32-bit 64-bit int or vise-versus java. If you use two 32-bit instants instead of a 64-bit int, then it will not be slow at all, even if you use 64-bit, where you can use 32-bit If it could, it would be slow on some platforms. In other words, use the right data type for your problem domain.
Comments
Post a Comment