[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: horrible utf-8 performace in wc
From: |
Jan Engelhardt |
Subject: |
Re: horrible utf-8 performace in wc |
Date: |
Wed, 7 May 2008 13:41:28 +0200 (CEST) |
User-agent: |
Alpine 1.10 (LNX 962 2008-03-14) |
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()?
- Re: horrible utf-8 performace in wc, (continued)
- Re: horrible utf-8 performace in wc, Bo Borgerson, 2008/05/07
- Re: horrible utf-8 performace in wc, Jim Meyering, 2008/05/07
- Re: horrible utf-8 performace in wc, Bo Borgerson, 2008/05/07
- Re: horrible utf-8 performace in wc, Pádraig Brady, 2008/05/07
- Re: horrible utf-8 performace in wc, Bo Borgerson, 2008/05/07
- Re: horrible utf-8 performace in wc, Pádraig Brady, 2008/05/07
- Re: horrible utf-8 performace in wc, Bo Borgerson, 2008/05/08
- Re: horrible utf-8 performace in wc, Bruno Haible, 2008/05/08
- Re: horrible utf-8 performace in wc, Pádraig Brady, 2008/05/07
- Re: horrible utf-8 performace in wc, Bruno Haible, 2008/05/08
Re: horrible utf-8 performace in wc,
Jan Engelhardt <=
Re: horrible utf-8 performace in wc, Jim Meyering, 2008/05/07
Re: horrible utf-8 performace in wc, Bruno Haible, 2008/05/08
Re: horrible utf-8 performace in wc, Bruno Haible, 2008/05/08