Re: [PHP4BETA] Serialization efficiency
| From: | Sascha Schumann | Date: | Sat, 12 Jun 1999 11:49:03 +0000 |
| Subject: | Re: [PHP4BETA] Serialization efficiency | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1524@lists.php.net to get a copy of this message | ||
On Sat, Jun 12, 1999 at 02:42:50PM +0300, Zeev Suraski wrote:
> On Sat, 12 Jun 1999, Stig Bakken wrote:
>
> > As long as the data can be written and read on different-endian machines,
> > I don't mind. But what about optimizing the serialisation code instead
> > (perhaps by using a binary but network-byte-order format)?
>
> Huh? Why bother at all with caring about endians here? If you worry
> about this stuff you also worry about number of bits in the platform and
> God knows what else.
What do you want to do? I don't see much space for optimizing,
despite packing the length and the type identifier together.
--
Regards,
Sascha Schumann
Consultant