#42633 [Opn->Bgs]: pcre compiled regex caching documentation

From: Date: Wed, 21 Nov 2007 20:39:01 +0000
Subject: #42633 [Opn->Bgs]: pcre compiled regex caching documentation
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-256@lists.php.net to get a copy of this message
ID: 42633 Updated by: felipe@php.net Reported By: sean at awesomeplay dot com -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: Ubuntu Gutsy PHP Version: Irrelevant New Comment: . Previous Comments: ------------------------------------------------------------------------ [2007-11-21 20:36:51] felipe@php.net The cache exist, but provided by PHP. http://lxr.php.net/source/php-src/ext/pcre/php_pcre.c#49 ------------------------------------------------------------------------ [2007-11-21 17:00:55] vrana@php.net This is already documented: "This extension maintains a global per-thread cache of compiled regular expressions (up to 4096)." ------------------------------------------------------------------------ [2007-09-11 23:32:59] sean at awesomeplay dot com Description: ------------ The PCRE extension does not document that compiled regular expressions are cached internally. I was about to file a bug requesting support for this, and thankfully decided to peak at the code before I did so. The documentation should note this feature so that performance-minded folks can sleep better at night. :) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42633&edit=1

« previous php.doc.bugs (#256) next »