Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
nicoburns
3y ago
0 comments
Share
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.
0 comments
default
newest
oldest
nattaylor
3y ago
Oops, thanks for pointing that out
j
/
k
navigate · click thread line to collapse