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

of course it does; it's possible to pre-allocate the entire table though (c-tor with size, rounded to the next power of 2, compensated by the load factor). Massive waste of memory but no resizes.


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

Search: