addslashes' speed

From: Date: Sun, 20 Dec 1998 03:27:49 +0000
Subject: addslashes' speed
Groups: php.dev 
Request: Send a blank email to php-dev+get-2896@lists.php.net to get a copy of this message
Hi, the attached patch speeds up addslashes about 30% (benchmarked on 34MB /dev/random data, pgcc 1.1 with -O6 -mcpu=pentium). Btw, using register in a user level program is non sense :-) The effect is rather drastical on a platform with few available registers resulting in nothing but a slowdown. Anyone objects against a commit? Regards, Sascha Schumann | Consultant | finger sas@schell.de | for PGP public key

« previous php.dev (#2896) next »