This is a very simple and maybe a worthless question: Whitch one of the following two consumes more memory?
boolean[][] var = new boolean[32768][32768];
or
byte[][] var = new byte[32768][32768];
I heard rumors that java
stores every piece of data in it's own byte
in both cases. Then whitch one is more efficent? Is it possible to somehow treat a long
value as a boolean
array?