Re: String searching peformance
| From: | Ernest E Vogelsinger | Date: | Wed, 26 Feb 2003 08:57:12 +0000 |
| Subject: | Re: String searching peformance | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137204@lists.php.net to get a copy of this message | ||
At 09:49 26.02.2003, {R}ichard Ashton said:
--------------------[snip]--------------------
>Do you think that:
>
>if (preg_match($re, $posting, $hits)) would slow it down at all. The
>$buzzwords will be kept in a file to be loaded before each run, every 5
>minutes. I could therefore keep a count of which words hit most
>frequently and move them to the top of the list.
--------------------[snip]--------------------
If you have a lot of buzzwords I believe this could make quite some
performance impact.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/