Closed
Bug 49411
Opened 24 years ago
Closed 24 years ago
cache charset detector in libmime
Categories
(MailNews Core :: Internationalization, defect, P2)
MailNews Core
Internationalization
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: nhottanscp, Assigned: nhottanscp)
Details
(Keywords: perf, Whiteboard: [nsbeta3+])
Charset detector is created in MimeCharsetConverterClass::Init(), and the class
is not cached, so it's created per line.
We can cache a detector inside a class since there is only one detecter
selection by the pref (i.e. not per message).
Assignee | ||
Updated•24 years ago
|
Comment 1•24 years ago
|
||
Marking nsbeta3+ per I18N bug triage.
Priority: P3 → P2
Whiteboard: [nsbeta3+]
Assignee | ||
Comment 2•24 years ago
|
||
I made a change to store a detector as static. But detectors do not work
correctly unless creating them every time. They may be holding states
internally. I need to talk to Frank about this.
Assignee | ||
Comment 3•24 years ago
|
||
Checked in a fix for the detector to reset internal states for string based
detection.
Comment 4•24 years ago
|
||
what is the remaining part of the bug ?
Assignee | ||
Comment 5•24 years ago
|
||
I have a patch to cache a detector. I will check in after it's reviewed.
Assignee | ||
Comment 7•24 years ago
|
||
fixed
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 8•24 years ago
|
||
Looks like this would be best verified by naoki.
Thanks!
QA Contact: momoi → nhotta
Updated•20 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•