[Imap-protocol] INTHREAD extension
arnt at gulbrandsen.priv.no
Thu Jan 31 12:51:39 PST 2008
Timo Sirainen writes:
> The main use I see for INTHREAD is to let client display a list of
> threads where a search condition matches.
I see. (That's my second purpose, too.)
> This would be done with THREAD algorithm .. INTHREAD same-algorithm ..
I thought of SEARCH INTHREAD for that. That gives a more natural
fallback to servers without INTHREAD.
> And since they use the same algorithms, it's most likely possible to
> optimize for that (I haven't thought of how yet).
Maybe. Not for me: My code will be a bit faster and use less disk space
if everyone uses the same algorithm, but if two algorithms are used, it
doesn't matter whether they're used by the same or by two different
> But if the INTHREAD needs to work with different algorithm than THREAD
> or if SEARCH INTHREAD is allowed, it can't use the THREAD's optimized
> code path, requiring an alternative nonoptimized code path which will
> be rarely (if ever) used.
> Do you see any real use for SEARCH INTHREAD
Yes. But I also want INTHREAD in the search key used to control mailbox views.
> or THREAD algo1 INTHREAD algo2 commands?
No that. Not at all.
More information about the Imap-protocol