Date: Sun, 4 Jul 2004 16:16:59 +0000 (UTC) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/grep dfa.c dfa.h grep.c grep.h mbcache.h search.c Message-ID: <200407041616.i64GGxDV049983@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tjr 2004-07-04 16:16:59 UTC
FreeBSD src repository
Modified files:
gnu/usr.bin/grep dfa.c dfa.h grep.c grep.h search.c
Added files:
gnu/usr.bin/grep mbcache.h
Log:
Make grep run much (~10x) faster in multibyte locales by caching the wide
character representation of input data across calls to dfaexec(), and by
caching the lengths of character across calls to check_multibyte_string().
Obtained from: Fedora (Tim Waugh)
Revision Changes Path
1.18 +60 -23 src/gnu/usr.bin/grep/dfa.c
1.8 +4 -1 src/gnu/usr.bin/grep/dfa.h
1.27 +41 -22 src/gnu/usr.bin/grep/grep.c
1.7 +4 -1 src/gnu/usr.bin/grep/grep.h
1.1 +11 -0 src/gnu/usr.bin/grep/mbcache.h (new)
1.17 +68 -27 src/gnu/usr.bin/grep/search.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407041616.i64GGxDV049983>
