Y
Hacker News
new
|
ask
|
show
|
jobs
by
krajzeg
3393 days ago
There is a lot of material in the article on power-of-two vs non-power-of-two sizes and it definitely includes a discussion of how POT is convenient due to modulo becoming a bitmask (not a bitshift, which would be division).