Re: cvs: php4 / NEWS /ext/standard string.c
| From: | Sascha Schumann | Date: | Fri, 20 Jul 2001 18:35:18 +0000 |
| Subject: | Re: cvs: php4 / NEWS /ext/standard string.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-6285@lists.php.net to get a copy of this message | ||
On Fri, 20 Jul 2001, Andi Gutmans wrote:
> Sascha,
>
> Is there any reason to leave the old algorithm? I don't really like the
> optional argument. Why not always use Boyer-Moore as it's probably faster?
> Or does it support less than the old str_replacE()?
There are a lot cases where the old algorithm is faster (and
there are cases where Boyer is 3x times faster). Thus it is
not really practical to remove the current implementation.
- Sascha Experience IRCG
http://schumann.cx/ http://schumann.cx/ircg