Mercurial > hg > Members > shinya > pyrect
changeset 112:fcac8224a2e9 default tip
modify memchr parameter.
author | Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 12 Feb 2011 17:00:23 +0900 |
parents | 92507d269615 |
children | |
files | pyrect/translator/grep_translator.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pyrect/translator/grep_translator.py Sat Feb 12 16:52:39 2011 +0900 +++ b/pyrect/translator/grep_translator.py Sat Feb 12 17:00:23 2011 +0900 @@ -81,7 +81,7 @@ elif self.filter == "quick": self.emit_quick_filter(key) elif self.filter: - if len(key) < 8: + if len(key) <= 4: self.filter = "memchr" self.emit_memchr_filter(key) else: