Patch: FNV-1 support for ext/hash

From: Date: Fri, 04 Sep 2009 16:01:27 +0000
Subject: Patch: FNV-1 support for ext/hash
Groups: php.internals 
Request: Send a blank email to internals+get-45490@lists.php.net to get a copy of this message
Hi, Earlier on someone on IRC mentioned that ext/hash had no support for the FNV-1 hash function (http://en.wikipedia.org/wiki/Fowler-Noll-Vo_hash_function), so I decided to have a go at adding it. The result of this is the attached patch. Currently it only supports 32-bit and 64-bit versions. I've written it against PHP 5.3 SVN, I presume it'll apply to HEAD but I haven't checked yet. Any comments? Cheers, Michael

« previous php.internals (#45490) next »