re: What Happened When I Learned Java and Python at the Same Time VIEW POST


you want to pick the type that uses the least amount of memory possible

Not really. Since you're using Java the Behemoth anyway, shaving a few bytes shouldn't be a priority. Much more important is the speed (not to mention correctness;), and on most modern architectures the native 64bit (or 32, sometimes) integer is faster than all the size-restricted ones.

code of conduct - report abuse