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

I don't think 4096 is arbitrary. It's an array of 16bit integers, and 4096 * 16 = 65536. So 4096 represents the boundary point below which an array of integers uses less memory than a traditional bitmap.


Oops, thanks for pointing that out




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

Search: