Hacker News new | ask | show | jobs
by nicoburns 1381 days ago
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.
1 comments

Oops, thanks for pointing that out