CVSROOT: /sources/m4
Module name: m4
Changes by: Eric Blake <ericb> 07/10/09 20:06:52
Index: ChangeLog
===================================================================
RCS file: /sources/m4/m4/ChangeLog,v
retrieving revision 1.552
retrieving revision 1.553
diff -u -b -r1.552 -r1.553
--- ChangeLog 2 Oct 2007 22:20:01 -0000 1.552
+++ ChangeLog 9 Oct 2007 20:06:51 -0000 1.553
@@ -1,3 +1,20 @@
+2007-10-09 Eric Blake <[EMAIL PROTECTED]>
+
+ Cache regex compilation for another autoconf speedup.
+ * modules/gnu.c (gnu_buf): Replace...
+ (REGEX_CACHE_SIZE, regex_cache): ...with new declarations.
+ (m4_pattern_buffer): Add fields.
+ (m4_regexp_compile): Rename...
+ (regexp_compile): ...to this, and drop no_sub parameter.
+ Implement caching.
+ (M4FINISH_HANDLER): Clean up entire cache.
+ (m4_regexp_search): Rename...
+ (regex_search): ...to this, adjust to new struct contents, and add
+ no_sub parameter.
+ (m4_regexp_substitute): Rename...
+ (regexp_substitute): ...to this.
+ (substitute, patsubst, regexp, renamesyms): Adjust callers.
+
2007-10-02 Eric Blake <[EMAIL PROTECTED]>
Document quoting pitfalls in capitalize.
@@ -9277,7 +9294,7 @@
-----
- $Revision: 1.552 $ $Date: 2007/10/02 22:20:01 $
+ $Revision: 1.553 $ $Date: 2007/10/09 20:06:51 $
Local Variables:
coding: utf-8