4 ms·
I totally agree, and I have complained about Java's lack of structured value types many times before because they are the main reason for Java's crazy memory us
by fauigerzigerk 15y ago
I totally agree, and I have complained about Java's lack of structured value types many times before because they are the main reason for Java's crazy memory usage.
However, the gap has narrowed significantly with the introduction of pointer compression in Java. It only works up to 32GB though, so this is going to be a temporary boost for Java I guess.
- azth 15y agoCould you point me to any references about pointer comparisons in Java? How is it different than Object a = new Object(); Object b = new Object(); boolean bool = a == b;
- fauigerzigerk 15y agoI said "pointer compression" not "pointer comparison".