#3905: very slow IMAP search
---------------------+---------------------
  Reporter:  jeffpc  |      Owner:  brendan
      Type:  defect  |     Status:  new
  Priority:  major   |  Milestone:
 Component:  IMAP    |    Version:  1.7.1
Resolution:          |   Keywords:
---------------------+---------------------

Comment (by Kevin McCarthy <kevin@…>):

 In [changeset:"4f0a84b954efdb5ed0be0cc7b9b1bb4e525920dd"
 6898:4f0a84b954ef]:
 {{{
 #!CommitTicketReference repository=""
 revision="4f0a84b954efdb5ed0be0cc7b9b1bb4e525920dd"
 Fix imap server-side search to call uid2msgno() only once. (see #3905)

 After performing a UID SEARCH, the results are parsed in
 cmd_parse_search().  This was accidentally calling uid2msgno() twice.
 Since that function does a linear search, this has a noticable impact
 on large search results.
 }}}

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

Reply via email to