Closed
Bug 125755
Opened 23 years ago
Closed 4 years ago
Add an option to GetCharsetAtom to avoid charset alias resolution
Categories
(Core :: Internationalization, defect)
Core
Internationalization
Tracking
()
RESOLVED
FIXED
People
(Reporter: nhottanscp, Unassigned)
References
Details
(Keywords: intl, perf)
http://lxr.mozilla.org/seamonkey/source/intl/uconv/idl/nsICharsetConverterManager2.idl#109
nsICharsetConverterManager2::GetCharsetAtom takes a string and convert it to atom.
The implementaion uses the charset alias manager which is not inexpensive. The
function is needed everytime creating decoder/encoder, so we want to improve the
performance there.
The alias resolution is not needed when the claller knows the standard name like
"UTF-8" (case need to match). By adding an option to skip the alias resoultion,
we can improve the performance.
Reporter | ||
Updated•23 years ago
|
Updated•23 years ago
|
Keywords: mozilla1.0+
Reporter | ||
Updated•22 years ago
|
Target Milestone: mozilla1.2alpha → ---
Updated•15 years ago
|
QA Contact: ruixu → i18n
Updated•11 years ago
|
mozilla::Encoding*
has this role now.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•