emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#17070: closed ([PATCH] grep: optimization of DFA b


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#17070: closed ([PATCH] grep: optimization of DFA by reuse of multi-byte buffers in non-UTF8 locales)
Date: Sun, 06 Apr 2014 05:14:04 +0000

Your message dated Sat, 05 Apr 2014 22:12:58 -0700
with message-id <address@hidden>
and subject line Re: bug#17070: [PATCH] grep: optimization of DFA by reuse of 
multi-byte buffers in non-UTF8 locales
has caused the debbugs.gnu.org bug report #17070,
regarding [PATCH] grep: optimization of DFA by reuse of multi-byte buffers in 
non-UTF8 locales
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
17070: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17070
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] grep: optimization of DFA by reuse of multi-byte buffers in non-UTF8 locales Date: Sun, 23 Mar 2014 22:19:36 +0900
Package: grep
Tags: patch

dfaexec() allocates and deallocates many buffers in non-UTF8 locales, but
it's very inefficient.

If put them on struct dfa and reuse them, when use not regex but DFA for
ANYCHAR, it will speed up about 20-30% in non-UTF8 locales.

Norihiro

Attachment: patch.txt
Description: Text document


--- End Message ---
--- Begin Message --- Subject: Re: bug#17070: [PATCH] grep: optimization of DFA by reuse of multi-byte buffers in non-UTF8 locales Date: Sat, 05 Apr 2014 22:12:58 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
Norihiro Tanaka wrote:
I rebased this patch, and add a bug fix to it.

Thanks. Paolo wrote it up in <http://bugs.gnu.org/17156#11>, and I just now tweaked its ChangeLog and merged the code and installed it (patch attached). I followed up with minor cleanups (2nd patch attached).

Attachment: 0001-grep-reuse-multibyte-DFA-buffers-in-non-UTF8-locales.patch
Description: Text document

Attachment: 0002-grep-minor-improvements-to-previous-patch.patch
Description: Text document


--- End Message ---

reply via email to

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