Re: [PATCH] optimize pattern searching some
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?
--
Paul
"I'm not sure if this is a good or a bad thing.
Probably a bad thing; most things are bad things."
-- Nile Evil Bastard