Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30879 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99235 invoked by uid 1010); 13 Jul 2007 01:35:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 99220 invoked from network); 13 Jul 2007 01:35:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jul 2007 01:35:18 -0000 Authentication-Results: pb1.pair.com header.from=planetbeing@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=planetbeing@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.204.231 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: planetbeing@gmail.com X-Host-Fingerprint: 72.14.204.231 qb-out-0506.google.com Received: from [72.14.204.231] ([72.14.204.231:6129] helo=qb-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 79/D2-10261-6D6D6964 for ; Thu, 12 Jul 2007 21:35:18 -0400 Received: by qb-out-0506.google.com with SMTP id e11so284831qbe for ; Thu, 12 Jul 2007 18:35:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:cc:references:in-reply-to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:thread-index:content-language; b=KeBARF/GS+Uf/36fBHOlHPecJ/QVGI3QQPVmWRCoZ81naHk2f7eWrYXY0TWt06QYfAN+f622R4+I98myo5jmVz/3guTDiD9Uih0BUZI8mvG9EKn8eCFGfMMBIoBE4XabmIzBrtSnCCR2Q3D2PVO2YnDgBcgvXnTNzSLo34jZgqU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:cc:references:in-reply-to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:thread-index:content-language; b=XtgNzFD+YRCPc4fWk3UMFB2IrIV0QWIWj60w0UTfZoWfet6c70A4dxnXxEGHZ7p9LwGXU0IlTbD6EKMorAqjpI5YqSPqo+ul+lq+NGij45nhdtolLruI/AWR4ayhdGjN+PHZej9PgkLTsIrgg2/61hJATb2wWHrg8xk6imnQCPA= Received: by 10.115.78.1 with SMTP id f1mr1165088wal.1184290515299; Thu, 12 Jul 2007 18:35:15 -0700 (PDT) Received: from DavidPC ( [24.21.139.96]) by mx.google.com with ESMTP id z15sm34984635pod.2007.07.12.18.35.10 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 Jul 2007 18:35:10 -0700 (PDT) To: "'Scott MacVicar'" Cc: "'Stanislav Malyshev'" , "'Sebastian Bergmann'" , References: <46969CCA.3010608@zend.com> <000901c7c4e3$2b803030$82809090$@com> <4696C77B.2060005@php.net> In-Reply-To: <4696C77B.2060005@php.net> Date: Thu, 12 Jul 2007 18:35:05 -0700 Message-ID: <000501c7c4ee$0acff590$206fe0b0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcfE5PQV/rLFe3aURSCrywNe+GJWxAAB7aYg Content-Language: en-us Subject: RE: [PHP-DEV] Mid-term Update for Cycle Collector (Google Summer of Code Project) From: planetbeing@gmail.com ("David") > Could the garabage collector be started / stopped during script > executing from a userland function? zend_gc_enable/disable() in > addition > to an ini option to enable it at script startup? Yes, that functionality can be added fairly easily. Some GC code will still have to be executed (such as the if branches that currently check whether the GC is enabled or not :-)) but performance may increase slightly (since there will no longer be a function call for the GC to note down possible cycles it detects). However, a drastic performance increase will probably not be seen. It's very unlikely for the main garbage collection cycle to be run if there are no cycles present. (I can go into some technical details if you'd like). David