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

Objects have a length overhead. At Bluebird we used objects and used a bitmask on the length so it's fast. (We use less slots than an array actually)

I was just pointing out that Objects weren't slow for indexed access.



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

Search: