Closed
Bug 445695
Opened 17 years ago
Closed 14 years ago
nsMsgFilterAfterTheFact doesn't use m_searchHits
Categories
(MailNews Core :: Filters, defect)
MailNews Core
Filters
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: neil, Assigned: neil)
References
Details
Attachments
(1 file, 1 obsolete file)
9.80 KB,
patch
|
rkent
:
review-
|
Details | Diff | Splinter Review |
Well, it only ever calls Add, GetSize and RemoveAll but you don't need an extra nsMsgKeyArray when you already have an array of the nsMsgDBHdr objects.
I also want to rename m_searchHitHdrs to m_searchHits and make it an nsCOMArray.
Assignee | ||
Comment 1•17 years ago
|
||
(In reply to comment #0)
> I also want to rename m_searchHitHdrs to m_searchHits and make it an nsCOMArray.
Oh, I can't do that, it gets passed to DeleteMessages.
Assignee | ||
Comment 2•17 years ago
|
||
So, since getting the length of an nsIArray isn't cheap (it's worse than an nsISupportsArray...) I replaced the key array with a hit count member.
Assignee: nobody → neil
Status: NEW → ASSIGNED
Updated•17 years ago
|
Product: Core → MailNews Core
Updated•16 years ago
|
Whiteboard: [has draft patch]
Assignee | ||
Comment 3•16 years ago
|
||
Comment on attachment 329976 [details] [diff] [review]
WIP
Can't remember why I wrote this but the basic idea hasn't bitrotted even if the patch itself has.
Attachment #329976 -
Flags: review?(kent)
Comment 4•14 years ago
|
||
Attachment #329976 -
Attachment is obsolete: true
Attachment #329976 -
Flags: review?(kent)
Comment 5•14 years ago
|
||
Comment on attachment 529123 [details] [diff] [review]
Un-bitrotted version of original patch
Review of attachment 529123 [details] [diff] [review]:
While m_searchHits was not used at the time the patch was written, subsequent changes added a use (to set the processing flag for move) which is necessary to communicate information about moves to the folder objects. So this patch (and its justification) are no longer valid. Is there any reason still to pursue this?
Attachment #529123 -
Flags: review-
Assignee | ||
Comment 6•14 years ago
|
||
Fair enough.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
Whiteboard: [has draft patch]
You need to log in
before you can comment on or make changes to this bug.
Description
•