Re:The Current State of Java Value Types
by slavapestov on Friday June 22, 2018 @02:41AM
(#17371916)
That is true, but the original poster was talking about heap allocation of simple integers, not larger values.
Code that deals with a lot of values which are small but larger than a machine word can be made a lot more efficient if there is a way to treat those values as not objects.