<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #3128: Make IMAP expunged message handling faster



#3128: Make IMAP expunged message handling faster
-------------------------+--------------------------------------------------
 Reporter:  brendan      |       Owner:  brendan
     Type:  enhancement  |      Status:  new    
 Priority:  major        |   Milestone:  2.0    
Component:  IMAP         |     Version:  1.5.18 
 Keywords:               |  
-------------------------+--------------------------------------------------
 cmd_parse_expunge walks the entire mailbox for every expunge message
 received. For large mailboxes, this is extremely slow. We want two fixes:
 1. maintain a header hash by index number, and 2. avoid having to
 decrement the index number for following messages at every expunge
 message. We might maintain a side list of expunges received and use it to
 offset the index number of live messages. Or maybe we'll just adjust the
 later messages lazily, by recording our current position in the list and
 only adjusting offsets when we touch messages after that point. Needs some
 thought.

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