bug#18454: Improve performance when -P (PCRE) is used in UTF-8 locales

2014-09-30 Thread Zoltán Herczeg
Hi, >It's purely a performance question. GNU grep already uses libpcre to search >binary data, and it works now. It's just slow, that all. I'm willing to live >with this, and tell users "Sorry, but libpcre is not designed to search binary >data quickly; if you want speed then don't use grep'

bug#18454: Improve performance when -P (PCRE) is used in UTF-8 locales

2014-09-30 Thread Paul Eggert
On 09/30/2014 11:10 AM, Zoltán Herczeg wrote: Grep already does that sort of thing. And it's smart enough to start matching only at character boundaries. It's not libpcre's job to worry about this; the caller can worry about it. Thank you for bringing this up. I don't see any point of reimpl