FAQ
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

Search Discussions

  • Michael Maclean at Sep 16, 2009 at 8:09 pm

    Michael Maclean wrote:
    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.
    I've since updated the patch with some tests based on the ones in the
    original code:

    http://mgdm.net/~michael/patches/php-fnv.txt

    --
    Cheers,
    Michael

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedSep 4, '09 at 4:15p
activeSep 16, '09 at 8:09p
posts2
users2
websitephp.net

People

Translate

site design / logo © 2022 Grokbase