Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30893 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88984 invoked by uid 1010); 13 Jul 2007 16:38:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 88969 invoked from network); 13 Jul 2007 16:38:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jul 2007 16:38:46 -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 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:58485] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 18/F1-03855-39AA7964 for ; Fri, 13 Jul 2007 12:38:45 -0400 Received: from [127.0.0.1] ([192.168.16.180]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 13 Jul 2007 09:38:41 -0700 Message-ID: <4697AA8D.6090004@zend.com> Date: Fri, 13 Jul 2007 09:38:37 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: David CC: 'Andi Gutmans' , 'Scott MacVicar' , 'Sebastian Bergmann' , internals@lists.php.net References: <46969CCA.3010608@zend.com> <000901c7c4e3$2b803030$82809090$@com> <4696C77B.2060005@php.net> <000501c7c4ee$0acff590$206fe0b0$@com> <698DE66518E7CA45812BD18E807866CE647F04@us-ex1.zend.net> <001501c7c50a$43919e30$cab4da90$@com> In-Reply-To: <001501c7c50a$43919e30$cab4da90$@com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Jul 2007 16:38:41.0042 (UTC) FILETIME=[45232720:01C7C56C] Subject: Re: [PHP-DEV] Mid-term Update for Cycle Collector (Google Summer of Code Project) From: stas@zend.com (Stanislav Malyshev) > I haven't heard of that before... Is it some sort of compiler optimization > setting? Could you recommend to me some reference that would describe how > this can be done? It might help a lot. http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html look for __builtin_expect. See also EXPECTED and UNEXPECTED in zend_alloc.c -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com