Hash Algorithm [was: Re: [PHP-DEV] Namespaces in PHP 6 - ++$take]

From: Date: Fri, 10 Nov 2006 18:20:59 +0000
Subject: Hash Algorithm [was: Re: [PHP-DEV] Namespaces in PHP 6 - ++$take]
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-26481@lists.php.net to get a copy of this message
Ilia Alshanetsky wrote: > As your key size increases the slower the key hash generation process > becomes, if you look at the PHP's hash key generation code you'll see > that it works best for 8 or less chars, anything longer and the > performance starts to drop. It's been a long time since I studied hashes: are there no hashing algorithms that perform better with more than 8 characters? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69

« previous php.internals (#26481) next »