Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26481 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69623 invoked by uid 1010); 10 Nov 2006 18:21:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69608 invoked from network); 10 Nov 2006 18:21:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Nov 2006 18:21:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=news@sea.gmane.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.2 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.2 main.gmane.org Linux 2.5 (sometimes 2.4) (4) Received: from [80.91.229.2] ([80.91.229.2:52799] helo=ciao.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 81/65-27611-B23C4554 for ; Fri, 10 Nov 2006 13:21:33 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gib08-0000A0-Jg for internals@lists.php.net; Fri, 10 Nov 2006 19:21:16 +0100 Received: from 115.84-48-233.nextgentel.com ([84.48.233.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Nov 2006 19:21:16 +0100 Received: from sb by 115.84-48-233.nextgentel.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Nov 2006 19:21:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Fri, 10 Nov 2006 19:20:59 +0100 Lines: 12 Message-ID: References: <4554AE0D.4080600@caedmon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 115.84-48-233.nextgentel.com User-Agent: Thunderbird 2.0a1 (X11/20061109) In-Reply-To: X-Enigmail-Version: 0.94.1.0 Sender: news Subject: Hash Algorithm [was: Re: [PHP-DEV] Namespaces in PHP 6 - ++$take] From: sb@sebastian-bergmann.de (Sebastian Bergmann) 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