Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61101 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78198 invoked from network); 4 Jul 2012 09:55:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jul 2012 09:55:51 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gg0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:58605] helo=mail-gg0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/6C-30242-52314FF4 for ; Wed, 04 Jul 2012 05:55:50 -0400 Received: by ggnf2 with SMTP id f2so7189851ggn.29 for ; Wed, 04 Jul 2012 02:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dUixSs52g9WAHj+8o5El76tRlhCKIKRWJEWUWYWpJhI=; b=qBAeU1V1bSFzZv8JtIh0rT1J5y9hrvlMRJGFUrGRZ2WTkBSO7Q8PFpqRsdea6b0ChI BT15NyCZLKdhcHNdVOXHAAbUKhQb+HZWe+QQ5g+z4qYDQb07cLgAp5+xIlH/HYoXCIGW eIC0vWo2PbD9ymzmxs0hWRQPlmhwX8bGwWJmn263eqjnLcmKnpsi1hD2J6DO0hTGAF6o YbDHAEg3C5L9Fl7TFBiHPTixEuDB/Qo2e8hx7qvoBn7n0E2XLopXz/lr8Nz1CrGsNuPs 67eb7fuQ5+2iWreuFcoxUoTOo6EcQXcACifALKjWUjKSv+5dBoYqAOp7GVpLj++Ug0w+ h+3g== MIME-Version: 1.0 Received: by 10.236.91.48 with SMTP id g36mr12733338yhf.53.1341395747484; Wed, 04 Jul 2012 02:55:47 -0700 (PDT) Received: by 10.147.113.7 with HTTP; Wed, 4 Jul 2012 02:55:47 -0700 (PDT) In-Reply-To: <4FF31F5A.9010009@lerdorf.com> References: <4FF2FFBF.8050301@lerdorf.com> <4FF31F5A.9010009@lerdorf.com> Date: Wed, 4 Jul 2012 11:55:47 +0200 Message-ID: To: Rasmus Lerdorf Cc: Arvids Godjuks , Tom Boutell , PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Is the fix for #61238 in PHP 5.4.4 & pecl yet? From: pierre.php@gmail.com (Pierre Joye) hi Rasmus, On Tue, Jul 3, 2012 at 6:35 PM, Rasmus Lerdorf wrote: > On 07/03/2012 08:17 AM, Pierre Joye wrote: >> I for one would like to kill all the legacy features or too specific >> features which are really unusable by any common developers. >> >> Other developers may disagree but it makes very hard to maintain APC. > > There are really just two big features in APC. The opcode caching and > the user-cache that sits on top of the same shared memory segment used > by the opcode cache. Right, I wold like to split them tho'. To have two independent memory for opcodes and user cache. > Everything else are just little tweaks that amount > to very little code. Maintenance complexity is not necessary related to the amount of code but the amount of cases to test. These cases also make very hard for our users to understand APC and how it behaves (the stat=0 being the easiest one to understand but causing most issues, for example). That's where eAccelerator or xCache do way better, if it works, it simply works, no magic option or other confusing (for the users) options. > The biggest cleanup we would get moving it to core > would be the ability to drop all the #ifdef checks for the different > engine versions since we would obviously only need to support the > current one. We will still have to support current supported versions via PECL. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org