> On 3 Mar, 2017, at 01:55, John Yates <j...@yates-sheets.org> wrote: > > The virtue of a prime number of buckets is that when you mod > your 32-bit hash value to get a bucket index you harvest _all_ > of the entropy in the hash, not just the entropy in the bits you > preserve.
True, but you incur the cost of a division, which is very much non-trivial on ARM CPUs, which are increasingly common in CPE. - Jonathan Morton _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev