Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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...


Hash map properties are randomly accessed from memory opposed to array indexes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: