Ed Maste <ema...@freebsd.org> writes: > Dag-Erling Smørgrav <d...@des.no> writes: > > That's my fault, and I'm going to change it, because it's illogical. > > The function works on aligned arrays of int32s and should take a count, > > not a size. I just didn't want to delay the patch even further. > The fact that it works only on aligned 32-bit ints is a detail of this > implementation and not a requirement of murmur3 though.
Absolutely. This implementation was tuned specifically for pf's use and therefore only works on aligned arrays. It is a pared-down version of a more complete implementation I wrote for cryb.to (still a WIP). DES -- Dag-Erling Smørgrav - d...@des.no _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"