--- Begin Message ---
Subject: |
dfa: avoid to clear a transition table for initial state |
Date: |
Tue, 27 May 2014 08:49:26 +0900 |
If number of DFA states reaches at 1024, all transition tables are
cleared in build_state() in order to avoid out-of-memory. However, for
initial state that shouldn't be done, because it's always used.
BTW, this patch enables to revert a previous patch "grep: do not count
newline before the start of buffer", because no longer the code is never
be run through at a first character of a text.
0001-dfa-avoid-to-clear-a-transition-table-for-initial-st.patch
Description: Text document
0002-dfa-revert-grep-do-not-count-newline-before-the-star.patch
Description: Text document
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#17605: [PATCH] dfa: simplify building intial state |
Date: |
Mon, 26 May 2014 17:55:50 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
Thanks, I've pushed those changes, along with the changes for Bug#17604.
--- End Message ---