#3743: Performance regression with 'color index' command in mutt 1.5.22
-----------------------+----------------------
  Reporter:  sforshee  |      Owner:  mutt-dev
      Type:  defect    |     Status:  closed
  Priority:  major     |  Milestone:
 Component:  mutt      |    Version:  1.5.22
Resolution:  fixed     |   Keywords:
-----------------------+----------------------
Changes (by Seth Forshee <seth@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [755a18da99bc0a57bd6e462f5971eba7b9f61604]:
 {{{
 #!CommitTicketReference repository=""
 revision="755a18da99bc0a57bd6e462f5971eba7b9f61604"
 Fix performance regression for ~b/~B searching. (closes #3743)

 In mutt_is_autoview(), changeset b58cdfacfb89 introduced a call to
 rfc1524_mailcap_lookup() before checking if the MIME type should
 be autoviewed based on the user's preferences. This caused a major
 performance regression for ~b/~B searching.

 Rearrange mutt_is_autoview() to check the user preferences first, then
 search for a mailcap entry only if the MIME type should be autoviewed.

 In order to preserve correct mime_lookup behavior, re-add a call to
 mutt_check_lookup_list() before scanning the AutoViewList.
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3743#comment:3>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to