Bug 99085 - Make pattern searching slightly quicker
Make pattern searching slightly quicker
Status: CLOSED UPSTREAM
Product: Red Hat Linux
Classification: Retired
Component: mutt (Show other bugs)
9
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-07-14 07:39 EDT by Tim Waugh
Modified: 2014-03-16 22:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-01-26 17:23:29 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
mutt-fast.patch (539 bytes, patch)
2003-07-14 07:40 EDT, Tim Waugh
no flags Details | Diff

  None (edit)
Description Tim Waugh 2003-07-14 07:39:29 EDT
Description of problem:
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.
Comment 1 Tim Waugh 2003-07-14 07:40:07 EDT
Created attachment 92910 [details]
mutt-fast.patch
Comment 2 Bill Nottingham 2005-01-26 17:23:29 EST
Sent upstream.

Note You need to log in before you can comment on or make changes to this bug.