4 ms·
That was the enhancement proposal targeting Java 9 which came out about 6 years ago. For Java it’s a good saving because it reduces the overall heap size, and
by aardvark179 3y ago
That was the enhancement proposal targeting Java 9 which came out about 6 years ago.
For Java it’s a good saving because it reduces the overall heap size, and if JS has a similar distribution of objects then it should work well there as well. It may already do so, the internal storage format of things like strings and arrays is deliberately opaque.