Re: [PHP-DEV] addslashes' speed From: Rasmus Lerdorf (rasmus <email protected>)
Date: 12/20/98

> Due to the massive use of macros, redundant code could be avoided kicking
> out just another source of errors. While retaining compatibility for the
> user, msql.c became shorter and more advanced. And PHPLIB can support
> mSQL officially with PHP 3.0.6 ;-)

Aha.. I was wondering what the motivation was. Ok, we'll stick it in
3.0.6, but please keep a close eye on the bug database and jump in if you
see any reports that might be related to any of these changes. Looking at
it closer the changes weren't as large as I thought initially.

I also tested your addslashes() change. I don't quite see the advertised
30% speedup. Closer to 18% on my box here, but still good.

-Rasmus

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>