Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77493 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19235 invoked from network); 22 Sep 2014 23:23:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Sep 2014 23:23:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=park.framework@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=park.framework@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: park.framework@gmail.com X-Host-Fingerprint: 209.85.218.48 mail-oi0-f48.google.com Received: from [209.85.218.48] ([209.85.218.48:55535] helo=mail-oi0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 31/A1-09206-B6FA0245 for ; Mon, 22 Sep 2014 19:23:24 -0400 Received: by mail-oi0-f48.google.com with SMTP id e131so3907405oig.21 for ; Mon, 22 Sep 2014 16:23:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=8gkPgZdBEsf66cZ2R2MmtKw4ZbnQlehJQinegQLWIf8=; b=r7ig9ITp7TissuTZWR3k3Z9Qi2ceRYJm6hRmaUR4fIXsAUUSIDjlHboy9XSdcNU6U9 XEfV3M4AcNwvXf+4+ilooUMQzKSRalGNQUTjIvPwwBf1TJQlFgKwTOZQYTNZjIwnYvDl fxx65LMcaWtMlND3zZ1TIgKPXph1Ft1DQHwuSUrnuiit4Dy1oRUtTsCkU4AMcauT83xi XWoBYHNegsgq5uGtGE82/iYFwpjFis/Wu7rIZXQzOOb6pltTf7D5CaaT63SAmSxM6hZA L6SxLssIcAiegCeQsnA4Tmf30TWBBsa7zMQe/ViTdehaNG1i3Lrq4Wa0GSyxurAbXCjm Jevw== MIME-Version: 1.0 X-Received: by 10.60.35.6 with SMTP id d6mr5771250oej.77.1411428201123; Mon, 22 Sep 2014 16:23:21 -0700 (PDT) Received: by 10.76.23.37 with HTTP; Mon, 22 Sep 2014 16:23:21 -0700 (PDT) Date: Tue, 23 Sep 2014 02:23:21 +0300 Message-ID: To: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: [PHP-DEV] Improve PHP 7 serialization From: park.framework@gmail.com (Park Framework) PHP serialization is slowest in PHP Session, clients NoSQL, ... I would like to have in PHP 7, a new serialization algorithm or custom handler to serialize. My opinion is that the best choice is to use msgpack, it is +110% faster -30% data size HHVM discussed this issue, but all boils down to backward compatibility with PHP https://github.com/facebook/hhvm/issues/2654 What do you think about this, maybe it's time to change the old algorithm serialization, on something better?