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



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







Privacy