Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34277 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23946 invoked by uid 1010); 30 Dec 2007 09:45:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 23931 invoked from network); 30 Dec 2007 09:45:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Dec 2007 09:45:50 -0000 Authentication-Results: pb1.pair.com header.from=xuefer@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=xuefer@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.146.182 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: xuefer@gmail.com X-Host-Fingerprint: 209.85.146.182 wa-out-1112.google.com Received: from [209.85.146.182] ([209.85.146.182:43586] helo=wa-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C0/05-01652-CC867774 for ; Sun, 30 Dec 2007 04:45:49 -0500 Received: by wa-out-1112.google.com with SMTP id l24so7470676waf.17 for ; Sun, 30 Dec 2007 01:45:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=BrkYO3G56dAsXPiEfMoh2ZOvwYUv1DxKyneet+H2aCs=; b=nwZqwqDOnEqklkQokARp4XxegsqlsbX36PPZ5ut16Z7b7yd1fb/KQTNhSmTHvedunWAGKH8aT1ifSGyFMDFup8h6zXBjeC4ev8tovlBnv89/7za6uaK5AElUjn1o/o9p1pLVqVSQT5fVA8HcgnV0g77foisSP/Blxpu3+F0fNq4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=yAslmowgvUo/glA5uEs/U7IDC8+0ufokdpMtoJ/6dcm/wOtZxYxh/5FX/tZOOncFuOny8V9Om3zstGTpwaikt19wEj5MgGMlmd14g3Qpzn1dJV0xCLduHktLddznWimoSw7TZ6tmOdhIrbbJxD8m+D4j38qYbnSZ//ITD5iHLoo= Received: by 10.115.106.7 with SMTP id i7mr10326806wam.18.1199007945938; Sun, 30 Dec 2007 01:45:45 -0800 (PST) Received: by 10.114.36.15 with HTTP; Sun, 30 Dec 2007 01:45:45 -0800 (PST) Message-ID: <28139bc0712300145i788731f9n6b3822f1f48eee65@mail.gmail.com> Date: Sun, 30 Dec 2007 17:45:45 +0800 To: "Ryusuke SEKIYAMA" Cc: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: [PHP-DEV] Re: PATCH: Implementing closures in PHP From: xuefer@gmail.com (Xuefer) On Dec 29, 2007 12:45 AM, Ryusuke SEKIYAMA wrote: > >any idea about the possibility of hash conflict? > > How about this patch? > http://www.opendogs.org/pub/php-5.3dev-071228a.patch yeah build_runtime_defined_function_key! that's what i thought of :) and i hope the function name cv works as expected so no hash() on the looong name is needed at run time, and assume that modern cpu will do long memcmp/strcmp quick enough