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: 307
I heard that using shorts on 32bit system is just more inefficient than using ints. Is this the same for ints on a 64bit system?
Python recently(?) basically merged ints 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