Y
Hacker News
new
|
ask
|
show
|
jobs
by
austincheney
2061 days ago
Hash map then.
1 comments
layoutIfNeeded
2061 days ago
Hm. So you're saying that indexing into a hash map can be faster than indexing into an array? How would this be possible? I mean, under the hood a hash map is going to an array too, which is being indexed based on the hash value...
link
austincheney
2061 days ago
Hash map properties are randomly accessed from memory opposed to array indexes.
link