Re: CVS update: php3/functions
| From: | Sascha Schumann | Date: | Sun, 27 Dec 1998 08:03:11 +0000 |
| Subject: | Re: CVS update: php3/functions | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-3064@lists.php.net to get a copy of this message | ||
On Sun, 27 Dec 1998, Rasmus Lerdorf wrote:
> > > How much, can you provide some figures or benchmarks?
> >
> > I just ran a short benchmark (regal.c) here which showed that at 200000
> > iterations we save about one third of user time. Attached is a short graph
> > which shows the results of two tests with and without the cache.
>
> It should be noted that this improvement is only seen when the same
> regular expression is applied repeatedly. An application with a bunch of
> different regex calls is not going to speed up.
From the log:
revision 1.89
date: 1998/12/25 20:09:47; author: sas; state: Exp; lines: +46 -17
speed up regexes by introducing a simple cache which is
effective in the simplest case - using always the same regex
Regards,
Sascha Schumann |
Consultant | finger sas@schell.de
| for PGP public key
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net