--- code/trunk/doc/html/pcrebuild.html 2007/06/13 14:55:18 181 +++ code/trunk/doc/html/pcrebuild.html 2007/06/13 15:09:54 182 @@ -180,13 +180,18 @@ to the configure command. With this configuration, PCRE will use the pcre_stack_malloc and pcre_stack_free variables to call memory -management functions. Separate functions are provided because the usage is very -predictable: the block sizes requested are always the same, and the blocks are -always freed in reverse order. A calling program might be able to implement -optimized functions that perform better than the standard malloc() and -free() functions. PCRE runs noticeably more slowly when built in this -way. This option affects only the pcre_exec() function; it is not -relevant for the the pcre_dfa_exec() function. +management functions. By default these point to malloc() and +free(), but you can replace the pointers so that your own functions are +used. +

+

+Separate functions are provided rather than using pcre_malloc and +pcre_free because the usage is very predictable: the block sizes +requested are always the same, and the blocks are always freed in reverse +order. A calling program might be able to implement optimized functions that +perform better than malloc() and free(). PCRE runs noticeably more +slowly when built in this way. This option affects only the pcre_exec() +function; it is not relevant for the the pcre_dfa_exec() function.


LIMITING PCRE RESOURCE USAGE

@@ -260,7 +265,7 @@


REVISION

-Last updated: 16 April 2007 +Last updated: 05 June 2007
Copyright © 1997-2007 University of Cambridge.