[SG16-Unicode] Performance of C interfaces (was: Re: SG16 meeting summary for August 21st, 2019)
Philipp Klaus Krause
krauseph at informatik.uni-freiburg.de
Mon Sep 2 07:10:06 CEST 2019
Am 02.09.19 um 01:00 schrieb JeanHeyd Meneide:
> On Sun, Sep 1, 2019 at 12:07 PM Steve Downey <sdowney at gmail.com> wrote:
>>
>> That was, if I recall correctly, about the C standard library interfaces in the Null-terminated multibyte strings section. Basically that the character at a time interfaces are not amenable to vectorization.
>>
>
> Yes. The C interfaces for UTFx-to-multi-byte (mbrtoc16, etc.) […]
In my experience, one reason those are slow is that they are restartable.
See e.g. the justification for N2282:
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2282.htm
Philipp
More information about the Unicode
mailing list