Closed Bug 63829 Opened 24 years ago Closed 19 years ago

Don't use nsMsgI18NEncodeMimePartIIStr in compose

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: Bienvenu, Unassigned)

References

Details

(Keywords: perf)

nsMsgI18NDecodeMimePartIIStr is very inefficient since it creates a mime converter every time you call it. The search session should cache a mime converter and use it, and nsMsgI18NDecodeMimePartIIStr should be removed from the source tree so no one ever calls it again.
Add names to cc list. change qa contact->laurel, reassing if not your area.
QA Contact: esther → laurel
Summary: Don't use nsMsgI18NDecodeMimePartIIStr in search → Don't user nsMsgI18NDecodeMimePartIISt in search
as hwaara found, we could use a similar fix in nsMsgCompose.cpp see http://lxr.mozilla.org/seamonkey/search?string=nsMsgI18NDecodeMimePartIIStr
Summary: Don't user nsMsgI18NDecodeMimePartIISt in search → Don't use nsMsgI18NDecodeMimePartIIStr in search or compose
Summary: Don't use nsMsgI18NDecodeMimePartIIStr in search or compose → Don't use nsMsgI18NEncodeMimePartIIStr / nsMsgI18NDecodeMimePartIIStr in search or compose
nsMsgI18NEncodeMimePartIIStr is no better. we could change the API to force you to pass in mime converter. then we could fix the callers.
working on this now... this could be a performance win for msgcompose
Keywords: perf
I am in the middle of working on this now as well, for bug 65277.
Will bug 65277 fix this one as well? (Is my work on this redundant?)
reassigning back, I can't work on this; jgmyers is doing a lot of stuff in this area and will probably fix this bug as well when his changes to bug 65277 are landed.
Assignee: bienvenu → gayatrib
Depends on: 65277
QA Contact: laurel → esther
reassigning to naving
Assignee: gayatrib → naving
QA Contact: esther → stephend
mass re-assign.
Assignee: naving → sspitzer
nsMsgI18NDecodeMimePartIIStr no longer exists. Changing summary, was: Don't use nsMsgI18NEncodeMimePartIIStr / nsMsgI18NDecodeMimePartIIStr in search or compose
Summary: Don't use nsMsgI18NEncodeMimePartIIStr / nsMsgI18NDecodeMimePartIIStr in search or compose → Don't use nsMsgI18NEncodeMimePartIIStr in compose
Product: Browser → Seamonkey
Assignee: sspitzer → mail
nsMsgI18NEncodeMimePartIIStr no longer exists as all. see http://lxr.mozilla.org/seamonkey/search?string=nsMsgI18NDecodeMimePartIIStr Therefore resolving as invalid. If you disagree, please reopen with reasons.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Component: MailNews: Search → MailNews: Message Display
QA Contact: stephend → search
You need to log in before you can comment on or make changes to this bug.