Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29296 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6583 invoked by uid 1010); 7 May 2007 21:53:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 6568 invoked from network); 7 May 2007 21:53:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 May 2007 21:53:32 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:44959] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AA/08-40634-BDF9F364 for ; Mon, 07 May 2007 17:53:32 -0400 Received: from [127.0.0.1] ([192.168.17.51]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 7 May 2007 14:53:28 -0700 Message-ID: <463F9FD0.3030009@zend.com> Date: Mon, 07 May 2007 17:53:20 -0400 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Mathias Bank CC: internals@lists.php.net References: <0E.B4.18102.F9DB9264@pb1.pair.com> In-Reply-To: <0E.B4.18102.F9DB9264@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 07 May 2007 21:53:28.0463 (UTC) FILETIME=[253DA1F0:01C790F2] Subject: Re: [PHP-DEV] serialize and cache handling From: stas@zend.com (Stanislav Malyshev) > can write this data to disk. So, you needs 20MB. If serialize (and of > course unserialize) would be able to write directly to disk (or read > directly from disk), you only needs 10MB. Actually having serialize/unserialize be able to write directly to a stream and read directly from a stream might be interesting, would probably improve working with things like large sessions or caching large data substantially. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/