Re: [PHP4BETA] Serialization efficiency

From: Date: Sat, 12 Jun 1999 13:35:10 +0000
Subject: Re: [PHP4BETA] Serialization efficiency
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-1530@lists.php.net to get a copy of this message
Zeev Suraski wrote: > > Your point doesn't sound right at all. Essentially what you're saying is > 'lets use a really slow data structure because it's very easy to look at'. > I don't accept it. > > If we write something that serializes pvals, and bulletproof test it, it > should work just as well as the current text based serialization (in fact, > it's much much easier to write). If you're afraid of debugging, we can > easily write an extraction tool that does something like: > > php_unserialize_binary(fpin, &p); > php_serialize_text(fpout, &p); > > and voila, you have the very same human readable text, but without hurting > performance in any way. > > Zeev > I vote for this! Boris -- How Unix vendors can ship ancient shells with no job control and no cursor editing by default and still wonder why people buy NT is beyond me. [Alan Cox]

« previous php.version4 (#1530) next »