3 ms·
Java 10 may support defining your own primitives. e.g. You could define a tuple-like type that will get passed and stored by value. Now you can make a billion
by zyx321 9y ago
Java 10 may support defining your own primitives.
e.g. You could define a tuple-like type that will get passed and stored by value. Now you can make a billion member Array of 'em and not incur the speed and memory overhead you'd get from using Objects that need to be tracked, dereferenced, garbage-collected, etc...