Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36163 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42991 invoked from network); 17 Mar 2008 07:59:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Mar 2008 07:59:29 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:17602] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/9D-00283-FD42ED74 for ; Mon, 17 Mar 2008 02:59:29 -0500 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: Mon, 17 Mar 2008 09:59:46 +0200 Message-ID: <06B0D32C7A96544490D18AF653D6BDE502759904@il-ex1.zend.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] Patch for opcode caches Thread-Index: AciGBz6n8Se8bzEfScSGR9WKjfZK5AB/SUkQ To: "Stas Malyshev" , "Rasmus Lerdorf" Cc: "Marcus Boerger" , "Andi Gutmans" , Subject: RE: [PHP-DEV] Patch for opcode caches From: dmitry@zend.com ("Dmitry Stogov") > -----Original Message----- > From: Stanislav Malyshev [mailto:stas@zend.com]=20 > Sent: Friday, March 14, 2008 10:11 PM > To: Rasmus Lerdorf > Cc: Marcus Boerger; Dmitry Stogov; Andi Gutmans;=20 > internals@lists.php.net > Subject: Re: [PHP-DEV] Patch for opcode caches >=20 >=20 > > I don't actually see early binding as being much of a problem, the=20 > > real > > problem is when the same class is both early and late=20 > bound. If you=20 > > consistently always bind early or always bind late, opcode=20 > caches should=20 > > be quite happy to let you do that. But if you mix the two,=20 > things get=20 >=20 > That's what we try to do in this patch - to make cache able to change=20 > the binding mode. Exactly. With very small opcode cache modification, it will able to work exactly in the same way as PHP works without any caches. The early-binding will be performed not in compile-time, but in file-load-from-cache-time. Thanks. Dmitry.