[
https://issues.apache.org/jira/browse/IMAP-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696029#action_12696029
]
Robert Burrell Donkin commented on IMAP-73:
-------------------------------------------
When using a database backend, this feature may be tricky to implement
efficiently.
1. The simplest approach would be to dynamically requery. This would mean
executing an EXISTS LIKE for every * LIST returned. This is likely to be
inefficient.
2. A complex approach would be to construct a query that would return all
children and then analyse the results. This is likely to be fiddly and may be
inefficient in some corner cases.
3. An alternative approach would be cache this information in the Mailbox. As a
boolean, this would be a relatively light addition. This data could be stored
in the database and updated when a mailbox is deleted or added. This would
require a change to the mailbox storage structure.
> Support RFC 3348
> ----------------
>
> Key: IMAP-73
> URL: https://issues.apache.org/jira/browse/IMAP-73
> Project: JAMES Imap
> Issue Type: New Feature
> Components: Mailbox, Protocol
> Affects Versions: 0.1
> Reporter: Robert Burrell Donkin
> Fix For: 0.1
>
>
> RFC 3348 describes an extension to IMAP which allows clients to determine
> whether a mailbox has a child without an expensive general LIST operation
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]