Serialization efficiency

From: Date: Sat, 12 Jun 1999 09:16:08 +0000
Subject: Serialization efficiency
Groups: php.version4 
Request: Send a blank email to php-version4+get-1520@lists.php.net to get a copy of this message
I know that the session module uses serialization code that's platform independent, because it generates human readable output. Question is, why would we want that? Storing server-side information should be as quick as possible, and you rarely care about platform independence. I think that storing binary representations of pval's would be much quicker to both read and write in comparison to the text based serialization we're using now. Using binary serialization may be less suitable for database-based storage, but actually, you can use BLOBs or even VARCHAR's on any decent SQL server. Zeev -- ----------------------------------------------------- Zeev Suraski <zeev@zend.com> For a PGP public key, finger bourbon@netvision.net.il

« previous php.version4 (#1520) next »