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

This is a bit unclear. The root map is still a hash map, but it's a "map of maps" the inner map is a BTreeMap - this is for memory efficiency, as the inner map is relatively smaller and we wouldn't have to deal with the growth factor of a hash map (and having to manually manage that.) where as the root hash map is pre allocated to its max size.


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

Search: