Re: [PHP4BETA] Serialization efficiency
| From: | Zeev Suraski | Date: | Sat, 12 Jun 1999 11:42:50 +0000 |
| Subject: | Re: [PHP4BETA] Serialization efficiency | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1522@lists.php.net to get a copy of this message | ||
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.
You read and write the data on the same platform. I know you hate it when
I supply ad-hoc statistics, but seriously, for like 2 people around the
world that may serve a shared site from different platforms using the same
cookie data, I wouldn't bother making the code platform independant. If
you really think it's that important, we can make the current platform
independant behavior optional.
Zeev