[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
m4 ChangeLog src/builtin.c src/m4.c src/m4.h [branch-1_4]
From: |
Eric Blake |
Subject: |
m4 ChangeLog src/builtin.c src/m4.c src/m4.h [branch-1_4] |
Date: |
Tue, 09 Oct 2007 16:51:10 +0000 |
CVSROOT: /sources/m4
Module name: m4
Branch: branch-1_4
Changes by: Eric Blake <ericb> 07/10/09 16:51:10
Modified files:
. : ChangeLog
src : builtin.c m4.c m4.h
Log message:
Cache regex compilation for another autoconf speedup.
* src/m4.h (free_macro_sequence): Rename...
(free_regex): ...to this.
* src/m4.c (main): Update caller.
* src/builtin.c (REGEX_CACHE_SIZE, m4_regex, regex_cache): New
declarations.
(compile_pattern): New function; cache recent regexes.
(free_regex): Rename, and clean up additional memory.
(m4_regexp, m4_patsubst): Use new function.
Signed-off-by: Eric Blake <address@hidden>
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/m4/ChangeLog?cvsroot=m4&only_with_tag=branch-1_4&r1=1.1.1.1.2.292&r2=1.1.1.1.2.293
http://cvs.savannah.gnu.org/viewcvs/m4/src/builtin.c?cvsroot=m4&only_with_tag=branch-1_4&r1=1.1.1.1.2.64&r2=1.1.1.1.2.65
http://cvs.savannah.gnu.org/viewcvs/m4/src/m4.c?cvsroot=m4&only_with_tag=branch-1_4&r1=1.1.1.1.2.49&r2=1.1.1.1.2.50
http://cvs.savannah.gnu.org/viewcvs/m4/src/m4.h?cvsroot=m4&only_with_tag=branch-1_4&r1=1.1.1.1.2.45&r2=1.1.1.1.2.46
- m4 ChangeLog src/builtin.c src/m4.c src/m4.h [branch-1_4],
Eric Blake <=