m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

m4 ChangeLog modules/gnu.c


From: Eric Blake
Subject: m4 ChangeLog modules/gnu.c
Date: Tue, 09 Oct 2007 20:06:52 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      07/10/09 20:06:52

Modified files:
        .              : ChangeLog 
        modules        : gnu.c 

Log message:
        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.
        
        Signed-off-by: Eric Blake <address@hidden>

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/m4/ChangeLog?cvsroot=m4&r1=1.552&r2=1.553
http://cvs.savannah.gnu.org/viewcvs/m4/modules/gnu.c?cvsroot=m4&r1=1.76&r2=1.77




reply via email to

[Prev in Thread] Current Thread [Next in Thread]