[llvm-dev] UTF-8 conversion speed

Stephen Kelly via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 3 01:14:30 PDT 2018


On 02/10/18 22:58, Friedman, Eli via llvm-dev wrote:
> On 10/2/2018 2:27 PM, via llvm-dev wrote:
>> At CPPcon last week, I saw a talk by Bob Steagall called
>> "Fast Conversion From UTF-8 with C++, DFAs, and SSE Intrinsics."
>> Part of this talk included data from a half-dozen or so conversion
>> libraries... one of which was labeled "LLVM".
>>
>> The LLVM converters were invariably the slowest.
> 
> UTF conversion is not on any hot paths, as far as I know, so nobody has 
> spent any time optimizing it.  If you're interested in the history of 
> the LLVM code, see https://reviews.llvm.org/rC68208 ; it's mostly 
> untouched since then, except for a few bugfixes.

Given

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823100

  https://bugs.llvm.org/show_bug.cgi?id=32962

I think moving away from it should be encouraged, assuming use of that 
file can be removed.

Thanks,

Stephen.



More information about the llvm-dev mailing list