Closed
Bug 49362
Opened 24 years ago
Closed 24 years ago
charset converter cache to use Content-Type charset
Categories
(MailNews Core :: Internationalization, defect, P3)
MailNews Core
Internationalization
Tracking
(Not tracked)
VERIFIED
INVALID
People
(Reporter: nhottanscp, Assigned: nhottanscp)
Details
(Keywords: perf, Whiteboard: [nsbeta3+])
This is separated from 47542.
> The cache is done by using the first message headers' charset.
> Since that is usually us-ascii and can be different from the mail
> body's charset (which is almost always true for non Latin1 cases).
> We need to change to check a charset again for Content-Type charset
> then reset the cache the converter for the body.
Assignee | ||
Comment 1•24 years ago
|
||
Nominating for nsbeta3, currently Non Latin1 charsets are mostly not cached.
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Comment 2•24 years ago
|
||
Naoki ~ Please provide more information.
Comment 3•24 years ago
|
||
What does this mean in terms of performance impact?
Assignee | ||
Comment 4•24 years ago
|
||
Since charset converters are created for every lines of message body, slower for
longer messages.
This is basically the same impact as the auto detector creation bug 49411. And
we create two converters (to and from unicode) per line compare to one auto
detector per line.
Assignee | ||
Comment 6•24 years ago
|
||
> The cache is done by using the first message headers' charset.
This is correct but if the header's charset is not encoded then the default view
charset is used. Since I was trying to support the case like a Japanese message
with non Japanese headers (e.g. e-mail address) with Japanese body, that is
actually cached when the default charset is set to Japanese.
We only cache for one input charset, so setting a view default to the user's
native charset make the cache most effective.
So this bug is INVALID, my initial assumption was wrong.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•