ca012d3a81
We are calling getmessagelist() internally a lot, e.g. just to check if a UID exists (from uidexist()). This is a very expensive operation in the UIDMapped case, as we reconstruct the whole messagelist dict every single time, involving lots of copying etc. So we provide more efficient implementations for the uidexists() getmessageuidlist() and getmessagecount() functions that are fast in the UIDMapped case. This should solve the performance regression that was recently observed in the Mapped UID case. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> Reviewed-and-tested-by: Vincent Beffara <vbeffara@ens-lyon.fr> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net> |
||
---|---|---|
.. | ||
__init__.py | ||
Base.py | ||
Gmail.py | ||
IMAP.py | ||
LocalStatus.py | ||
Maildir.py | ||
UIDMaps.py |