int datatype in 64bit JVM. Is it more "inefficient" than long?
Posted
by Zwei Steinen
on Stack Overflow
See other posts from Stack Overflow
or by Zwei Steinen
Published on 2010-05-16T22:18:34Z
Indexed on
2010/05/16
22:20 UTC
Read the original article
Hit count: 268
I heard that using short
s on 32bit system is just more inefficient than using int
s. Is this the same for int
s on a 64bit system?
Python recently(?) basically merged int
s with long
and has basically a single datatype long
, right? If you are sure that your app. will only run on 64bit then, is it even conceivable (potentially a good idea) to use long for everything in Java?
© Stack Overflow or respective owner