3 ms·
It's not really an optimization detail, it's because Java doesn't have user-defined value types. The primitives are there because they're value types copied fro
by astrange 5y ago
It's not really an optimization detail, it's because Java doesn't have user-defined value types. The primitives are there because they're value types copied from C.
(Java is a memory-safe variant of Objective-C with all the interesting features removed.)