Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68472 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32738 invoked from network); 10 Aug 2013 03:45:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Aug 2013 03:45:49 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.171 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.217.171 mail-lb0-f171.google.com Received: from [209.85.217.171] ([209.85.217.171:50501] helo=mail-lb0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C6/F8-06453-D67B5025 for ; Fri, 09 Aug 2013 23:45:49 -0400 Received: by mail-lb0-f171.google.com with SMTP id t13so3666710lbd.16 for ; Fri, 09 Aug 2013 20:45:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=xAKE1A/Abg6AZX466aIxoFLv6P/3bizA4Wrlu8JNgmo=; b=nvY1SgtjU78mkHdQGx3P0df9JUJnpIuqDjXELObLGukaHUhyLtGMXH/76UbCSq9Cnb 62fTP52CylTNqv80sUpgL+PDqVdxJepfuBDL2yKUHVZvUhWWf/Si9ebTIi2/E/IxEiwe jqyF6mpKibaJi+IvQIMbDLNXnM9aJKMQPq4FOKpIU294UxKuG+Vqnret3B2UVwJOGtPp 1JIV1yHWBeWoEfxLQRGZjgneSAOp79NNfbnwTg6quJbIofnTBSsMSMOIQHAuEJvSUJJD 8PIbYG9rpremS3d6luHnRISYsv+GfyGeyVcyGSYSBHeb991mZR03HVJfwjNl3z7nXmWi AcIQ== X-Received: by 10.152.87.42 with SMTP id u10mr7098043laz.43.1376106345264; Fri, 09 Aug 2013 20:45:45 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.127.233 with HTTP; Fri, 9 Aug 2013 20:45:05 -0700 (PDT) Date: Sat, 10 Aug 2013 12:45:05 +0900 X-Google-Sender-Auth: Mb-QqJjKLsDvKLdqVuClHQBrfGA Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11c34438e1fb3904e38fb9d0 Subject: Request #17860 Suggestion: auto detect whether session changed From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11c34438e1fb3904e38fb9d0 Content-Type: text/plain; charset=UTF-8 Hi all, Following patch against master https://gist.github.com/yohgaki/6198611 implements FR #17860 https://bugs.php.net/bug.php?id=17860 This patch removes unneeded session writes. i.e. session data has not changed, just skip write and improve performance. Although it is safe to remove unneeded writes, if many of us want ini setting for enable/disable write short cut, I'll add setting for it. Any comments? P.S. Not all of tests are fixed yet. -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11c34438e1fb3904e38fb9d0--