[SG16-Unicode] Comments on D1629R1 Standard Text Encoding
Steve Downey
sdowney at gmail.com
Sun Aug 18 18:13:09 CEST 2019
Can the optimizations be done based on contiguous_range and _iterator?
On Sun, Aug 18, 2019, 12:07 Thiago Macieira <thiago at macieira.org> wrote:
> On Saturday, 17 August 2019 12:25:57 PDT Henri Sivonen wrote:
> > To the extent other programming languages that have encoding
> > conversion in their standard library, such as Java, focus on
> > contiguous buffers rather than iteration, it's worthwhile to study if
> > application developers really feel that something important is
> > missing.
>
> We were just discussing URLs in the cpplang Slack and that reminded me:
> there's exactly one in 10 years case that I've needed to decode a non-
> contiguous byte range and that's when parsing a URL.
>
> So yes, these cases exist. On the other hand, they are rare enough that
> you
> don't need the the regular API to support them. The URL parser has other
> needs
> too and would be quite satisified to use a very flexible, stateful decoder
> API.
>
> Moreover, decoding contiguous byte ranges have very interesting properties
> since they can be parsed by SIMD.
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> Software Architect - Intel System Software Products
>
>
>
> _______________________________________________
> SG16 Unicode mailing list
> Unicode at isocpp.open-std.org
> http://www.open-std.org/mailman/listinfo/unicode
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open-std.org/pipermail/unicode/attachments/20190818/e3f8107f/attachment.html
More information about the Unicode
mailing list