[Users] [Bug 4243] Switching folders is slow

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Thu Aug 29 23:04:07 CEST 2019


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4243

--- Comment #5 from Alexander Harkness <me at bearbin.net> ---
> Just to correct your "no cache" assertion: before opening a folder, Claws Mail queries the server about list of UID numbers of messages it contains ("UID FETCH 1:* (FLAGS UID)"), and compares it to its local cache. After that, only additional information about messages with previously unseen UIDs is being retrieved.

This is indeed the case, the folder rebuilding I was referring to is after the
imapcache is loaded (and the remote server scanned against it) - much CPU time
is spent converting the imapcache into summaryview form, only for this to be
wasted by free() as soon as the user switches to viewing a different folder.

I have attached 3 patches (one is simply a test to ensure I haven't changed
behaviour unintentionally).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list