Re: Activation of IGBinary serialization extension in 5.4 by default
| From: | Ferenc Kovacs | Date: | Thu, 18 Aug 2011 11:48:22 +0000 |
| Subject: | Re: Activation of IGBinary serialization extension in 5.4 by default | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-54680@lists.php.net to get a copy of this message | ||
On Thu, Aug 18, 2011 at 1:30 PM, Arpad Ray <arraypad@gmail.com> wrote:
> Hi,
>
> On Thu, Aug 18, 2011 at 12:12 PM, Paul Dragoonis <dragoonis@gmail.com> wrote:
>> Hey guys,
>>
>> After a brief discussion with Pierre I'm taking this discussion to here.
>> We have the igbinary pecl extension available [1], however not many of our
>> userbase are familiar that it even exists.
>> Here [2] is the performance boost we get from using igbinary with
>> serialize() and unserialize().
>>
>> Here we get a great perf boost, and what's more excellent as we don't have
>> to break BC to get there!
>
> It would break BC for anyone with serialized strings stored in the
> current format.
>
> Maybe bundle it in core and provide an ini setting like
> session.serialize_handler, but I don't think making it the default in
> 5.4 is an option.
agree with the BC part, just wanted to mention that that igbinary can
already be set as a session handler via session.serialize_handler if
the extension present.
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu