Kervin L. Pierre wrote:

Stefano Bagnara wrote:


IMHO we need to consider real cases to be able to do something performant.

How would SEARCH and FETCH affect performance?

I think we can get away with stubbing a lot of
SEARCH functionality, but not FETCH.  The
SEARCH command can return 'NO' if the operation
is too complex.

It's not hard to implement SEARCH if you don't need the results quickly. :) A naive search implementation would iterate over every message in a mailbox. It's very easy once you've got the SEARCH command fully parsed, and I've contributed a library to James that fully parses the SEARCH command (or have I? oh well, I have it if anyone wants it).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to