[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17070: [PATCH] grep: optimization of DFA by reuse of multi-byte buff
From: |
Norihiro Tanaka |
Subject: |
bug#17070: [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
patch.txt
Description: Text document
- bug#17070: [PATCH] grep: optimization of DFA by reuse of multi-byte buffers in non-UTF8 locales,
Norihiro Tanaka <=