Bug 676403 - imapx: Syncing folder after server-side deletion of many messages is...
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 19 May 2012 23:40:53 +0000 (00:40 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 21 May 2012 12:19:41 +0000 (13:19 +0100)
commit23a77e1d521c34e04121395ffe5df9a567c22e77
treeea21a2c47c818c4ed462fb81759fbf3f13b920cd
parent2236bc3631b8f8c4995dabf65d27cdc39c7493f9
Bug 676403 - imapx: Syncing folder after server-side deletion of many messages is *very* slow

Fix this by introducing a new camel_folder_change_info_remove_uids()
function, and using it for the 'vanished' code. This reduces the time taken
from about 40ms per message, to about 50µs.
camel/camel-folder-summary.c
camel/camel-folder-summary.h
camel/camel-imapx-server.c