#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 kevin8t8):
Thanks for the bug report.
Indeed, not only is it performing an n-squared search from the results, it
is doing this twice. I'll push a fix shortly for the double-call to
uid2msgno().
Unfortunately, the msgno is not necessarily the same as the IMAP MSN, so
we can't just swap the UID SEARCH for a SEARCH. I'll start looking into
fixing this though, because that kind of performance is not acceptable.
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3905#comment:1>
Mutt <http://www.mutt.org/>
The Mutt mail user agent