cache: depessimize hashing macros/inlines
All hash sizes are power-of-2, but the compiler does not know that for sure
and 'foo % size' forces doing a division.
Store the size - 1 and use 'foo & hash' instead which allows mere shift.
cache: depessimize hashing macros/inlines Tags None Referenced Files None Subscribers None
Description
Details
|