Re: Improve PHP 7 serialization
| From: | Pierre Joye | Date: | Mon, 22 Sep 2014 23:58:54 +0000 |
| Subject: | Re: Improve PHP 7 serialization | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77494@lists.php.net to get a copy of this message | ||
On Sep 23, 2014 1:23 AM, "Park Framework" <park.framework@gmail.com> wrote:
>
> 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.
The latter is already possible and there are many good extensions doing
that. Igbinary f.e.
> 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?
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>