2x speedup of unserializer

From: Date: Sat, 10 Nov 2001 16:55:26 +0000
Subject: 2x speedup of unserializer
Groups: php.dev 
Request: Send a blank email to php-dev+get-69990@lists.php.net to get a copy of this message
There is a patch available which boosts the speed of the unserializer significantly. http://pair1.php.net/~sas/unserializer-speedup A large percentage of the speedup was achieved by eliminating the use of a hash for the reference implementation. Credits go to Thies for noticing this. The other part aims at making this code more maintainable for future extensions. To apply the patch, do this: cd php4/ext patch -p0 -N < /path/to/patch Please let me know what results you are seeing. And don't forget to Cc me as I haven't been subscribed to the PHP lists for some time. Thanks, - Sascha Experience IRCG http://schumann.cx/ http://schumann.cx/ircg

« previous php.dev (#69990) next »