[Top][All Lists]

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

[bug-grep] Re: [patch #3802] Red Hat's "dfa-optional" patch

From: Julian Foad
Subject: [bug-grep] Re: [patch #3802] Red Hat's "dfa-optional" patch
Date: Thu, 28 Apr 2005 13:33:33 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b) Gecko/20050217

Tim Waugh wrote:
Follow-up Comment #2, patch #3802 (project grep):

The full story with this patch is that the grep built-in DFA actually
pessimises rather than optimises when processing UTF-8.  The idea of this
patch is: if we are using UTF-8, disable grep's built-in DFA altogether.

(The DFA in glibc handles UTF-8 correctly, and fast.)

Excellent, thanks.  That's the sort of thing we needed to know.

- Julian

reply via email to

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