Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86269 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80325 invoked from network); 16 May 2015 21:10:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 May 2015 21:10:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.48 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.218.48 mail-oi0-f48.google.com Received: from [209.85.218.48] ([209.85.218.48:36168] helo=mail-oi0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 93/BE-14891-852B7555 for ; Sat, 16 May 2015 17:10:48 -0400 Received: by oift201 with SMTP id t201so105520044oif.3 for ; Sat, 16 May 2015 14:10:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=DGN+UkhOfkced2lR8locIyFOvyTqAQmZNDnW0T2QuCk=; b=X6XBQJTDhh/0S1/mgdB6Mv2Guw6sfAjiC/VweMgHTurPaOrGYHQrwksN8OboYC/V+E g2xmEdux2xLL74exfUVmw6vVIdRY0n96E5ZDU9rgTUm6K71mvmz4zAzN3++CxR1kxU6Z fCW7urarEyUhV04DpwczVidXwlerR9qFwQZ4+ZZpS8Xp12Iajd5fmO1JsbqZGVq4T7n7 h+kEbhMkOJJzmLI7Q7uaKLtu+MOmqtL3FhgLeRfgOixKjc/QIXD/k3c36cW2dclmBewB LnNtr/TgF9Xss42FtbYJo9LfWn9zt58TfCqDaWBAiJI25wwAKD4Utfx+kWUWfvY9v6CU Ad3A== X-Received: by 10.182.66.68 with SMTP id d4mr13689333obt.74.1431810645382; Sat, 16 May 2015 14:10:45 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.202.104.196 with HTTP; Sat, 16 May 2015 14:10:05 -0700 (PDT) In-Reply-To: <5557A04D.3090907@gmail.com> References: <5557A04D.3090907@gmail.com> Date: Sun, 17 May 2015 06:10:05 +0900 X-Google-Sender-Auth: -FUdF87CecH9NVrCqswDrPFlaBM Message-ID: To: Stanislav Malyshev Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=e89a8f234689e75d4c05163964bf Subject: Re: [PHP-DEV] Preload scripts and preloaded scripts only options From: yohgaki@ohgaki.net (Yasuo Ohgaki) --e89a8f234689e75d4c05163964bf Content-Type: text/plain; charset=UTF-8 Hi Stas, On Sun, May 17, 2015 at 4:53 AM, Stanislav Malyshev wrote: > > In addition, how about have a option that allows preloaded script only? > > I imagine it would be not hard to do with an extension overriding > compile_file, etc. the same way opcache does? > > This way it can be implemented as independent functionality not needing > modification of the engine or opcache. Right. Users could implement whitelist by themselves. However, isn't it nice to have this feature? It does not have any performance penalty. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --e89a8f234689e75d4c05163964bf--