Re: -fshort-wchar option, wchar_t and Native<->Unicode conversion
Jungshik Shin <[email protected]> Fri, 23 May 2003 10:55:46 +0900
| Newsgroups | gmane.comp.mozilla.internationalization,gmane.comp.mozilla.devel.unix,gmane.comp.mozilla.devel.xpcom |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Darin Fisher wrote: > Yeah, I wrote that comment about mbrtowc/wcrtomb being faster, but I > don't have my testcases anymore. I'm not sure how much faster it was... > it might be good to construct some new tests to verify that statement ;-) > Or, we may just take a short-cut by pinging Ulrich and Bruno? :-) They must have a good perf. estimate for what they wrote. What do you think? I've just taken a brief look at mbrtowc and wcrtomb implementation in glibc 2.3.2 and it seems like we wouldn't gain much because both mbrtowc/wcrtomb and iconv rely on GCONV(glibc internal module for codeset conversion). Well, this is just from a cursory look so that it can be wrong. Jungshik