Improve PHP 7 serialization
| From: | Park Framework | Date: | Mon, 22 Sep 2014 23:23:21 +0000 |
| Subject: | Improve PHP 7 serialization | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-77493@lists.php.net to get a copy of this message | ||
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?