[RCD] IMAP operations performance

Thomas Bruederli thomas at roundcube.net
Tue Dec 6 15:54:48 CET 2011


On Tue, Dec 6, 2011 at 13:13, A.L.E.C <alec at alec.pl> wrote:
> On 06.12.2011 11:34, Thomas Bruederli wrote:
>
>> Any information about the support of UID search with ranges (e.g. UID
>> 83:*) in the current IMAP servers?
>
> Do you know any that doesn't support this?

No I don't but I haven't investigated on that. That's why I asked this
question here.
>
>>> The problem is that in described case we'd need to call UID SEARCH ALL.
>>> Even so, I think it's worth to do this. Any thoughts on this?
>>
>> Would the result of UID SEARCH ALL be small enough to fit into memory?
>
> Currently we use "SEARCH ALL UNDELETED" in some cases and it works, so I
> don't see a problem. I'm working on result handling objects that store
> result as string in memory, so memory consumption will be even less than
> now.

I guess in order to issue select commands for a specific page, we
still need the UIDs as a list where we can extract a slice. But that's
an implementation detail.

~Thomas
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80



More information about the Dev mailing list