On Wed, Nov 18, 2020 at 10:50:08AM +0200, Heikki Linnakangas wrote: > If RESOWNER_ARRAY_STATS is increased to 16, all the lookups fit in the > array. But I haven't done any benchmarking to see which is faster.
My gut tells me that your guess is right, but it would be better to be sure. > BTW, I think there would be an easy win in the hashing codepath, by changing > to a cheaper hash function. Currently, with or without this patch, we use > hash_any(). Changing that to murmurhash32() or something similar would be a > drop-in replacement. Good idea. -- Michael
signature.asc
Description: PGP signature