On Wednesday 2008-05-07 13:11, Pádraig Brady wrote: > >Now that is a _lot_ of extra time. libiconv could probably be >made more efficient. I've never actually looked at it. >However wc calls mbrtowc() for each multibyte character. >It would probably be a lot more efficient to use mbstowcs() >to convert the whole read buffer.
And perhaps use iconv_open("wchar_t", whatever-is-appropriate) instead of mbrtowc()? _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils