[llvm-dev] UTF-8 conversion speed

Friedman, Eli via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 2 14:58:46 PDT 2018


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.

-Eli

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project



More information about the llvm-dev mailing list