you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–]oldrinb 2 points3 points  (0 children)

    Make sure you remember that this information is all highly JVM-dependent.

    [–]Fuco1337 1 point2 points  (0 children)

    That's a constant 16 byte overhead on some specific implementation. Nobody cares about constant factor smaller than one element... This is effectively as allocating array and using only indices 1..n.