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

If performance is important, I believe it's still a fair bit faster to use a plain object as hash, rather than a Map. (If the keys are integers V8 may initially treat the object as an array, but it'll switch over to dictionary mode pretty quickly.)


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

Search: