Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77555 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62044 invoked from network); 23 Sep 2014 21:51:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Sep 2014 21:51:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 108.166.43.115 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 108.166.43.115 smtp115.ord1c.emailsrvr.com Linux 2.6 Received: from [108.166.43.115] ([108.166.43.115:56451] helo=smtp115.ord1c.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 78/10-58738-E4BE1245 for ; Tue, 23 Sep 2014 17:51:11 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp7.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id CA8A13804A2; Tue, 23 Sep 2014 17:51:07 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp7.relay.ord1c.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 2B7B1380269; Tue, 23 Sep 2014 17:51:07 -0400 (EDT) X-Sender-Id: smalyshev@sugarcrm.com Received: from Stass-MacBook-Pro.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net [108.66.6.48]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:465 (trex/5.2.13); Tue, 23 Sep 2014 21:51:07 GMT Message-ID: <5421EB4A.4000101@sugarcrm.com> Date: Tue, 23 Sep 2014 14:51:06 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Paul Dragoonis , Pierre Joye CC: Leigh , Park Framework , PHP internals References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Improve PHP 7 serialization From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > I clearly didn't google, it would be interesting to see comparisons of high > speed PHP serialization libraries. I for one would be happy, in PHP 7, to > break BC serialization syntax in favour of putting in a much faster > serializer by default. Similar scenario to putting in Zend OpCache by > default instead of APC. Why break anything? If you need faster serializer, it's quite easy to get one, including msgpack. If it is really an issue that is important for people, we could include the package into core. But I don't see breaking BC in serialize/unserialize as a big win here. If it's really a bottleneck, a userspace package abstracting the specific serializer function could be easily created - and most clients like sessions already allow to switch serializers by configs. So BC break does not seem to be warranted here. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/