Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32098 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12802 invoked by uid 1010); 7 Sep 2007 18:32:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 12787 invoked from network); 7 Sep 2007 18:32:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Sep 2007 18:32:41 -0000 Authentication-Results: pb1.pair.com header.from=andi@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=andi@zend.com; spf=pass; 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: andi@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:8138] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7D/C3-29055-74991E64 for ; Fri, 07 Sep 2007 14:32:40 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 7 Sep 2007 11:32:36 -0700 Message-ID: <698DE66518E7CA45812BD18E807866CEA2AAA3@us-ex1.zend.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] Patch for macros for tracking refcount and is_ref Thread-Index: AcfxZTh90O88/5J8Qne7U6cfFZ4J6gAF+wEQ References: <20070904162613.4qgfdddo7scw8o8w@w13.mail.sapo.pt> <849426349.20070904210047@marcus-boerger.de> <698DE66518E7CA45812BD18E807866CEA2A93C@us-ex1.zend.net> <7d5a202f0709070106r5cc0cbb0n2d58d6f8a4e1c9a3@mail.gmail.com> To: "David Wang" , "Cristian Rodriguez" Cc: Subject: RE: [PHP-DEV] Patch for macros for tracking refcount and is_ref From: andi@zend.com ("Andi Gutmans") We are in an intermediate step right now where you are commiting these macros to make sure that review of GC is easier. There'll be a period of testing, benchmarks and stabilizing which we need to go through. Only after that will we figure out what we'd like to do. Do we want to always enable it, make it a config parameter or a compile-time option. All options are open the way I see it so let's make the right steps accordingly. Just randomly breaking source code compatibility at this point for no reason doesn't make sense. Btw, I agree that we will want to make sure that the macros are used and we will find a way to do that. Andi > -----Original Message----- > From: David Wang [mailto:planetbeing@gmail.com] > Sent: Friday, September 07, 2007 8:38 AM > To: Cristian Rodriguez > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] Patch for macros for tracking refcount and > is_ref >=20 > > ps: remember to change the Zend/PHP API number as well ;) >=20 > Done. >=20 > I personally think having a ZEND_GC switch sort of defeats the purpose > of forcing everyone to start using the macros (whether or not we want > the GC), which is something we want to do anyway. However, here are > the two versions of the patch, for everyone's consideration: >=20 > With ZEND_GC: http://zoo.cs.yale.edu/~yw226/macros.diff.txt > Without: http://zoo.cs.yale.edu/~yw226/macros2.diff.txt >=20 > David >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php