by vardump · 11y ago · 0 comments
If Java just didn't need to allocate each damn small value object (think struct) separately, I think it'd be a lot better with large heaps.
Array of 1000 non-elementary values could be just one allocation, not 1001. That'd also be 1000 times faster to garbage collect.
Still a few years behind other languages, but its coming...