[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MORG] Why IMAP extensions are (not) used



Mark Crispin writes:
On Wed, 8 Apr 2009, Arnt Gulbrandsen wrote:
If 350 SELECTs and 350 SEARCHes are unpleasantly slow, what makes you think that multimailbox search will be different?
 Not «will be», «is».
The speedup (up to orders of magnitude depending on the search expression) comes from two factors: The search itself is much better optimised, and there's no need to compute those 350 UNSEENs, EXISTSs and RECENTs.

You are engaged in the fallacy of believing that an implementation aspect of your server is common to all other servers.

Locking the mailbox in order to compute RECENT isn't free for anyone. Scanning for UNSEEN and EXISTS isn't free for anyone. Many databases and libraries that will use indexes to search quickly are available to everyone. Maybe the query planner I use is better than most. So what?

Arnt