Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.bin/make



"Joerg Sonnenberger" <joerg%netbsd.org@localhost> wrote:
> Module Name:  src
> Committed By: joerg
> Date:         Thu Apr  7 01:40:02 UTC 2011
> 
> Modified Files:
>       src/usr.bin/make: make.1 var.c
>       src/usr.bin/make/unit-tests: Makefile test.exp
> Added Files:
>       src/usr.bin/make/unit-tests: hash
> 
> Log Message:
> Add the :hash modifier to compute a 32bit hash of an variable.
> This uses MurmurHash3 to get a reasonable collission-free hash with
> small code. The result is endian neutral.

Cool.  Can you please move MurmurHash3 hash into src/common?  I have
been planning to use it in NPF, and potentially there are more uses in
the kernel, since it has a great speed and mixing trade-off.

Thanks.

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index