Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
thrownaway2424
on Nov 12, 2012
|
parent
|
context
|
favorite
| on:
3 billion items in Java Map with 16 GB RAM
I see, thanks for pointing it out. I always considered it a fundamental limitation of collections, because all or almost all of them are array-backed, and array indices in java are int, therefore the collections are generally limited to 2^31 items.
omaranto
on Nov 12, 2012
[–]
Does the term "array-backed" include the possibility of using an array of arrays? That would get you up to about 2^62...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: