Jan Hubicka <hubi...@ucw.cz> writes:

> Hi,
> this patch started as experiment moving hash_table_mod1 inline because it 
> shows
> high in streaming profiles and it represents a branch-less code that is good
> to schedule to surrounding instructions.

FWIW with a good modern hash function it shouldn't be needed to have
prime hash table sizes anymore. Without that just a power of two size 
can be used, so it would be just a mask.

I considered this last time I messed with hashes, but I didn't actually
see this function as beening hot.

-Andi

-- 
a...@linux.intel.com -- Speaking for myself only

Reply via email to