Hacker News new | ask | show | jobs
by jxf 1288 days ago
> Edit: Also, technically reddit was using signed int32s. So they really only had 2^16 unique digits. If they used unsigned int32s, then that would have bought them a lot of time.

Small correction: Signed int32s means you have 31 bits for the integer value (2^31 values), not 16 bits (2^16 values). There are 32 bits; 1 bit is used up for the sign, and 31 remain for the number.

1 comments

Yep, I made the same mistake I was trying to call out here haha. Thanks for the correction!