Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does a singleton object take more bytes? #10

Open
yulunz opened this issue Jul 3, 2018 · 0 comments
Open

Why does a singleton object take more bytes? #10

yulunz opened this issue Jul 3, 2018 · 0 comments

Comments

@yulunz
Copy link

yulunz commented Jul 3, 2018

Hi,

Maybe a noob question, but I am interested to learn why a singleton object of the same type takes more space?

Singleton ArrayList :: Bytes: 40.00, Obj: 2.00 NonNull: 2.00 Null: 0.00 scalars: [int x 2]

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant