1
0
Fork
You've already forked webpymail
0

Message list could be slow if folder have lots of messages #32

Open
opened 2015年03月13日 16:07:39 +01:00 by hgg · 1 comment
hgg commented 2015年03月13日 16:07:39 +01:00 (Migrated from gitlab.com)
Copy link

Created by: GoogleCodeExporter

Message list view requests all UIDs for folder messages, and if we have lots of 
messages (e.g. I have 2000 in gmail) it could be a bit slow.
This thing does not make webpymail too slow on list view, but maby it's better 
to get letters by ID in folder, and get number of messages from SELECT request?
(but in this situation using webpymail SORT functionality is the most narrow 
part)

Original issue reported on code.google.com by akimov.alex on 17 Nov 2010 at 1:35

*Created by: GoogleCodeExporter* ``` Message list view requests all UIDs for folder messages, and if we have lots of messages (e.g. I have 2000 in gmail) it could be a bit slow. This thing does not make webpymail too slow on list view, but maby it's better to get letters by ID in folder, and get number of messages from SELECT request? (but in this situation using webpymail SORT functionality is the most narrow part) ``` Original issue reported on code.google.com by `akimov.alex` on 17 Nov 2010 at 1:35
hgg commented 2015年03月13日 16:07:40 +01:00 (Migrated from gitlab.com)
Copy link

Created by: GoogleCodeExporter

The problem is that Gmail's IMAP doesn't support the SORT extension (nor the 
THREAD extension for that matter - RFC 5256). If we want to have sorted message 
lists we have to get all UID's then we get all the envelopes and then do the 
sorting ourselves (this is done in class Sorter, of hlimap/imapmessage.py ). 
Is this the problem you're referring to? 

Original comment by helder@tretas.org on 21 Nov 2010 at 3:14

*Created by: GoogleCodeExporter* ``` The problem is that Gmail's IMAP doesn't support the SORT extension (nor the THREAD extension for that matter - RFC 5256). If we want to have sorted message lists we have to get all UID's then we get all the envelopes and then do the sorting ourselves (this is done in class Sorter, of hlimap/imapmessage.py ). Is this the problem you're referring to? ``` Original comment by `helder@tretas.org` on 21 Nov 2010 at 3:14
Sign in to join this conversation.
No Branch/Tag specified
master
compose_mail
v0.02
webpymail-0.01
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hgg/webpymail#32
Reference in a new issue
hgg/webpymail
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?