<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] optimize pattern searching some



Paul Walker (paul@xxxxxxxxxxxxxxxxxxxxx) said: 
> On Wed, Jan 26, 2005 at 05:23:03PM -0500, Bill Nottingham wrote:
> 
> > Here is a patch to make message searches slightly quicker by eliminating a
> > redundant strlen for each line in a message being checked against a pattern.
> > It makes mutt use getline, a GNU libc extension function, rather than 
> > fgets+strlen.
> 
> Isn't that going to make it fail on systems which don't use glibc?

If they don't have it, it would be a build time error. If it's not
worth autoconfing it, it could be dropped - was just forwarding it
on for completeness sake.

Bill