Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15541 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39223 invoked by uid 1010); 22 Mar 2005 15:51:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 39208 invoked from network); 22 Mar 2005 15:51:33 -0000 Received: from unknown (HELO yahoo.com) (127.0.0.1) by localhost with SMTP; 22 Mar 2005 15:51:33 -0000 X-Host-Fingerprint: 206.190.36.197 web53802.mail.yahoo.com Received: from ([206.190.36.197:36292] helo=web53802.mail.yahoo.com) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id 88/17-36163-40F30424 for ; Tue, 22 Mar 2005 10:51:32 -0500 Received: (qmail 28197 invoked by uid 60001); 22 Mar 2005 15:51:30 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=uFbpfbLG+ie71X4RV+1ISfeMkjb3L1lCuxMGmiFGZTsaCBm8PYb50ZFsFKsbgJZcM1hXUsUhD/TY9enHIFM4MIm3Hnepxi3sfsKVwo+CjFqEE5uSik3Mkbn88p9shWPTsbWcyfA2OzpDk/V0gubmLhwPTVC9CXfW/9lOo6K5+E8= ; Message-ID: <20050322155130.28195.qmail@web53802.mail.yahoo.com> Received: from [66.240.11.2] by web53802.mail.yahoo.com via HTTP; Tue, 22 Mar 2005 07:51:30 PST Date: Tue, 22 Mar 2005 07:51:30 -0800 (PST) To: internals@lists.php.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-737295758-1111506690=:28020" Subject: Unserialize() From: shruti224@yahoo.com (shruti) --0-737295758-1111506690=:28020 Content-Type: text/plain; charset=us-ascii Hello all, I have an issue with unserializing big objects. My object when serialized to a file creates a file as big as 29 Megs. And when i m trying to unserialize the object, it takes forever somewhere around 33-36 secs(sometimes even more). My object has one member variable which is a reference to an array. I was using PHP5.0.2 I read about some bugfixes with unserialize. So I grabbed the most latest snapshot from CVS 5.0.4 RC4. (Dint help me though) Alternately I also tried $s = ""; and then writing this string to a cache file (Creates a file as big as 29Megs). Next time when the cache is found I say..require($cachefile); and then use the $var to recreate myobj. This also proved out to be too slow for me. Any comments on how should I handle this issue. If you want i can send the code to you. Could you please help me on this? Waiting for a reply eagerly, Thanks a lot Regards, --shruti. --------------------------------- Do you Yahoo!? Yahoo! Small Business - Try our new resources site! --0-737295758-1111506690=:28020--