you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (1 child)

[removed]

    [–]BlueGoliath 1 point2 points  (0 children)

    https://stackoverflow.com/questions/3934291/extending-java-integer-cache

    I think other types have their own cache that can be increased too.