On Aug 24, 2004, at 7:51 PM, Jason wrote:

Thanks for the feedback.

A way to somehow limit the caching of expressions
would be ideal, otherwise, the memory is lost forever
with no way to reclaim it.  I imagine a limited size
cache which keeps only the most used expressions would
be ideal.

If anyone can tell me which source file has the
'caching' code in it that would be very appreciated.

The entirety of the code is in ext/pcre/php_pcre.c, and the cache itself is maintained pretty much entirely in pcre_get_compiled_regex_ex().


George

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to