Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39149 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32009 invoked from network); 21 Jul 2008 20:58:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jul 2008 20:58:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.163 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.163 il-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.163] ([212.25.124.163:36619] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3A/B5-33868-858F4884 for ; Mon, 21 Jul 2008 16:58:01 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 21 Jul 2008 23:58:31 +0300 Received: from [192.168.16.110] ([192.168.16.110]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 21 Jul 2008 13:58:28 -0700 Message-ID: <4884F874.7020201@zend.com> Date: Mon, 21 Jul 2008 13:58:28 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Scott MacVicar CC: Andi Gutmans , Michal Dziemianko , internals@lists.php.net References: <698DE66518E7CA45812BD18E807866CE01D03F78@us-ex1.zend.net> <4884D20C.4090305@macvicar.net> In-Reply-To: <4884D20C.4090305@macvicar.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 21 Jul 2008 20:58:28.0699 (UTC) FILETIME=[86995AB0:01C8EB74] Subject: Re: [PHP-DEV] zend_inline_hash_function reimplementation From: stas@zend.com (Stanislav Malyshev) Hi! I understand this patch has potential portability issues for architectures that won't be able to read int's unaligned. Maybe we could keep both of them and do some configure test to see if it works fine, if not - use the old one? Also I understand that this function returns uint while old hash returned ulong. What happens with that on 64-bit platforms? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com